ports/64885: multimedia/mpeg4ip does not compile on amd64

Tim Robbins tjr at freebsd.org
Thu Jun 17 14:29:01 UTC 2004


On Thu, Jun 17, 2004 at 02:08:19PM +0000, Tim J. Robbins wrote:
> Synopsis: multimedia/mpeg4ip does not compile on amd64

Here is a (fairly crude) patch that makes it compile and mostly work
on amd64:

--- Makefile.old	Fri Jun 18 00:14:12 2004
+++ Makefile	Fri Jun 18 00:15:02 2004
@@ -121,6 +121,8 @@
 	@${REINPLACE_CMD} -e 's|use_mpeg4ip_xvid=false|use_mpeg4ip_xvid=true|g' \
 		-e 's|#define HAVE_XVID_H 1||g'	\
 		${WRKSRC}/configure
+# Remove bogus -static flags
+	@${FIND} . -name Makefile.in -exec ${GREP} -q 'la_LDFLAGS.*=.*-static' {} \; -exec ${REINPLACE_CMD} '/la_LDFLAGS.*=.*-static/d' {} \;
 
 .if ${ARCH} != "i386"
 # emms opcode should be noop in non-i386 non-MMX ARCH



More information about the freebsd-ports-bugs mailing list