ports/110470: [ patch ] multimedia/xmms: fix build on -CURRENT/amd64
Roman Bogorodskiy
novel at FreeBSD.org
Sun Mar 18 11:10:05 UTC 2007
>Number: 110470
>Category: ports
>Synopsis: [ patch ] multimedia/xmms: fix build on -CURRENT/amd64
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 18 11:10:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Roman Bogorodskiy
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
>Description:
multimedia/xmms doesn't build on -CURRENT/amd64 because of missing '-fPIC'
in CFLAGS.
>How-To-Repeat:
>Fix:
--- xmms.diff begins here ---
? work
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/xmms/Makefile,v
retrieving revision 1.83
diff -u -r1.83 Makefile
--- Makefile 12 Feb 2007 16:28:23 -0000 1.83
+++ Makefile 18 Mar 2007 10:53:50 -0000
@@ -41,6 +41,10 @@
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+= -fpic -DPIC
+.endif
+
CONFIGURE_ARGS+= --enable-ipv6
.if defined(WITH_ENCODING_PATCH) || defined(WITH_ID3V2_PATCH)
--- xmms.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list