An attempt to fix build on 64 bit arches.

Submitted by:	Vladimir Kushnir <vkushnir@i.kiev.ua>
This commit is contained in:
Roman Bogorodskiy 2005-10-21 14:49:00 +00:00
parent b428c03fad
commit 3e093b2d73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146033

View file

@ -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 <bsd.port.mk>