From fa2fd6be23b26d94359bae22744ddc3ef80d63a6 Mon Sep 17 00:00:00 2001 From: novel Date: Fri, 21 Oct 2005 14:49:00 +0000 Subject: An attempt to fix build on 64 bit arches. Submitted by: Vladimir Kushnir --- audio/xmms-wma/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'audio/xmms-wma/Makefile') diff --git a/audio/xmms-wma/Makefile b/audio/xmms-wma/Makefile index 42244cd213fe..8f294663f8ff 100644 --- a/audio/xmms-wma/Makefile +++ b/audio/xmms-wma/Makefile @@ -20,8 +20,9 @@ USE_REINPLACE= yes USE_BZIP2= yes USE_GMAKE= yes USE_X_PREFIX= yes +CFLAGS+= -fpic -DPIC -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 PLIST_FILES= lib/xmms/Input/libwma.so @@ -40,5 +41,6 @@ pre-everything:: post-extract: @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile.inc @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/ffmpeg-strip-wma/config.mak + @${REINPLACE_CMD} -e 's|CFLAGS :=|CFLAGS := ${CFLAGS}|g' ${WRKSRC}/Makefile.inc .include -- cgit