summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-04-13 11:02:59 +0000
committerarved <arved@FreeBSD.org>2004-04-13 11:02:59 +0000
commit5ca3daede6d62fa17d9ee35bb450251fa2d12b55 (patch)
treee63924763d8401fb0d827b469edd2d41420a6fe3 /audio
parent9deccf5fa1ddef6918539d71409368a59271bcf7 (diff)
downloadFreeBSD-ports-5ca3daede6d62fa17d9ee35bb450251fa2d12b55.zip
FreeBSD-ports-5ca3daede6d62fa17d9ee35bb450251fa2d12b55.tar.gz
Respect CC and CFLAGS
Compile .so with -fPIC to fix build on amd64 and ia64[1] [1]: PR: 65435 Submitted by: tjr
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-musepack/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/xmms-musepack/Makefile b/audio/xmms-musepack/Makefile
index a3a1626..4cc2c7b 100644
--- a/audio/xmms-musepack/Makefile
+++ b/audio/xmms-musepack/Makefile
@@ -21,12 +21,12 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gtk12
USE_LIBTOOL_VER= 13
+USE_REINPLACE= yes
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-BROKEN= "Does not compile on amd64 or ia64 (needs -fPIC)"
-.endif
+post-patch:
+ ${REINPLACE_CMD} -e "s,gcc,${CC} ${CFLAGS} -fPIC," ${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${PREFIX}/lib/xmms/Input/xmms-mpegplus-1.8.0.so
OpenPOWER on IntegriCloud