aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-a52dec
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-27 19:09:35 +0800
committerbapt <bapt@FreeBSD.org>2013-12-27 19:09:35 +0800
commit866bc8f1126cb25d191b5677310e9c0d15cd8cfd (patch)
treec1f6fc01e12f7f63aba62663d885361dccf6c039 /audio/xmms-a52dec
parentd0ea75a9706ed29934ad1323bc74b25b11727a19 (diff)
downloadfreebsd-ports-graphics-866bc8f1126cb25d191b5677310e9c0d15cd8cfd.tar.gz
freebsd-ports-graphics-866bc8f1126cb25d191b5677310e9c0d15cd8cfd.tar.zst
freebsd-ports-graphics-866bc8f1126cb25d191b5677310e9c0d15cd8cfd.zip
Use CFLAGS_${ARCH}
Diffstat (limited to 'audio/xmms-a52dec')
-rw-r--r--audio/xmms-a52dec/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/audio/xmms-a52dec/Makefile b/audio/xmms-a52dec/Makefile
index 4c0ff3494f4..d4c775cc5c2 100644
--- a/audio/xmms-a52dec/Makefile
+++ b/audio/xmms-a52dec/Makefile
@@ -18,10 +18,7 @@ USE_BZIP2= yes
USE_GNOME= gtk12
CFLAGS+= `xmms-config --cflags` -L${LOCALBASE}/lib
-.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64"
-CFLAGS+= -fPIC
-.endif
+CFLAGS_amd64= fPIC
PLIST_FILES= lib/xmms/Input/liba52dec.so
@@ -33,4 +30,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/liba52dec.so \
${STAGEDIR}${PREFIX}/lib/xmms/Input/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>