Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2004 00:31:04 +1000
From:      Tim Robbins <tjr@freebsd.org>
To:        bug-followup@freebsd.org, freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/64885: multimedia/mpeg4ip does not compile on amd64
Message-ID:  <20040617143104.GA54528@cat.robbins.dropbear.id.au>
In-Reply-To: <200406171408.i5HE8JCr005253@freefall.freebsd.org>
References:  <200406171408.i5HE8JCr005253@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040617143104.GA54528>