Fix the build on 64-bit platforms.

Reported by:	pointyhat
This commit is contained in:
Jean-Yves Lefort 2005-06-30 01:03:58 +00:00
parent 723e64c57b
commit 78a4be26ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138220

View file

@ -25,7 +25,7 @@ USE_GNOME= gtk12
PLIST_FILES= lib/xmms/Effect/libdefx.so
post-patch:
@${REINPLACE_CMD} -e 's|^MAKE=.*||; s|gcc|${CC}|; s|-O2|${CFLAGS}|; \
@${REINPLACE_CMD} -e 's|^MAKE=.*||; s|gcc|${CC}|; s|-O2|${CFLAGS} -fPIC|; \
s|gtk-config|${GTK_CONFIG}|' ${WRKSRC}/config.mak
@${REINPLACE_CMD} -e 's|-shared|-shared -fPIC|' ${WRKSRC}/Makefile