Date: Tue, 13 Jul 2004 23:35:43 -0500 (CDT) From: "Conrad J. Sabatier" <conrads@cox.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lioux@FreeBSD.org Subject: ports/69043: Fix BROKEN status of multimedia/mpeg4ip on amd64 Message-ID: <200407140435.i6E4Zh64047002@dolphin.local.net> Resent-Message-ID: <200407140440.i6E4eNcc010699@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69043 >Category: ports >Synopsis: Fix BROKEN status of multimedia/mpeg4ip on amd64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 14 04:40:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Conrad J. Sabatier >Release: FreeBSD 5.2-CURRENT amd64 >Organization: >Environment: System: FreeBSD dolphin.local.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Mon Jul 12 12:24:32 CDT 2004 root@:/usr/obj/usr/src/sys/CUSTOM amd64 >Description: multimedia/mpeg4ip is marked as BROKEN for amd64: ===> mpeg4ip-1.0 is marked as broken: Does not build on amd64 (shared libraries must be compiled with -fPIC). So why not just add the needed flag if ${ARCH} == amd64? >How-To-Repeat: Try to build multimedia/mpeg4ip on amd64 >Fix: Workaround: add the following to portupgrade's /usr/local/etc/pkgtools.conf under the MAKE_ARGS section: 'multimedia/mpeg4ip' => 'CFLAGS+="-fPIC"', Or patch the port's Makefile: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/multimedia/mpeg4ip/Makefile,v retrieving revision 1.39 diff -u -r1.39 Makefile --- Makefile 19 Jun 2004 09:26:08 -0000 1.39 +++ Makefile 14 Jul 2004 04:30:23 -0000 @@ -92,7 +92,7 @@ .include <bsd.port.pre.mk> .if ${ARCH} == "amd64" -BROKEN= "Does not build on amd64 (shared libraries must be compiled with -fPIC)" + CFLAGS+="-fPIC" .endif post-patch: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407140435.i6E4Zh64047002>