aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>