summaryrefslogtreecommitdiffstats
path: root/audio/xmms-mp3cue/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-mp3cue/Makefile')
-rw-r--r--audio/xmms-mp3cue/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/xmms-mp3cue/Makefile b/audio/xmms-mp3cue/Makefile
index 9b1b74d..b1e3954 100644
--- a/audio/xmms-mp3cue/Makefile
+++ b/audio/xmms-mp3cue/Makefile
@@ -23,7 +23,13 @@ USE_X_PREFIX= yes
PLIST_SUB= PORTDOCS=${DISTNAME}
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+CONFIGURE_ENV= CFLAGS="-fPIC"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/*.c
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud