ports/69043: Fix BROKEN status of multimedia/mpeg4ip on amd64

Conrad J. Sabatier conrads at cox.net
Wed Jul 14 04:40:23 UTC 2004


>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:



More information about the freebsd-ports-bugs mailing list