aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-a52dec
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-02-20 22:56:32 +0800
committerarved <arved@FreeBSD.org>2004-02-20 22:56:32 +0800
commit2404f288188f5d1acd9f8447f2517bdc538f19df (patch)
treefebf2f0b148ad371e2e24db5e18c21ba4afda38c /audio/xmms-a52dec
parent8d876afedb4391a5527c9881b370732a74c1dedc (diff)
downloadfreebsd-ports-gnome-2404f288188f5d1acd9f8447f2517bdc538f19df.tar.gz
freebsd-ports-gnome-2404f288188f5d1acd9f8447f2517bdc538f19df.tar.zst
freebsd-ports-gnome-2404f288188f5d1acd9f8447f2517bdc538f19df.zip
Fix build on AMD64
PR: 63102 Submitted by: Hendrik Scholz <hendrik@scholz.net>
Diffstat (limited to 'audio/xmms-a52dec')
-rw-r--r--audio/xmms-a52dec/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/xmms-a52dec/Makefile b/audio/xmms-a52dec/Makefile
index 9c98f8bf442d..2cf14d53971d 100644
--- a/audio/xmms-a52dec/Makefile
+++ b/audio/xmms-a52dec/Makefile
@@ -23,7 +23,12 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= gtk12
+.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+CFLAGS= -fPIC
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/liba52dec.so ${PREFIX}/lib/xmms/Input/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>