From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 17 14:29:01 2004 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E9A116A4FD; Thu, 17 Jun 2004 14:29:00 +0000 (GMT) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09B2E43D54; Thu, 17 Jun 2004 14:29:00 +0000 (GMT) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.113.35) by smtp01.syd.iprimus.net.au (7.0.024) id 40B7A0DA005BD269; Fri, 18 Jun 2004 00:28:27 +1000 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id 9893741CB; Fri, 18 Jun 2004 00:31:04 +1000 (EST) Date: Fri, 18 Jun 2004 00:31:04 +1000 From: Tim Robbins To: bug-followup@freebsd.org, freebsd-ports-bugs@freebsd.org Message-ID: <20040617143104.GA54528@cat.robbins.dropbear.id.au> References: <200406171408.i5HE8JCr005253@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200406171408.i5HE8JCr005253@freefall.freebsd.org> User-Agent: Mutt/1.4.1i Subject: Re: ports/64885: multimedia/mpeg4ip does not compile on amd64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 14:29:01 -0000 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