aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-musepack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-musepack/Makefile')
-rw-r--r--audio/xmms-musepack/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/xmms-musepack/Makefile b/audio/xmms-musepack/Makefile
index a3a162683886..4cc2c7bf9213 100644
--- a/audio/xmms-musepack/Makefile
+++ b/audio/xmms-musepack/Makefile
@@ -21,12 +21,12 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gtk12
USE_LIBTOOL_VER= 13
+USE_REINPLACE= yes
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-BROKEN= "Does not compile on amd64 or ia64 (needs -fPIC)"
-.endif
+post-patch:
+ ${REINPLACE_CMD} -e "s,gcc,${CC} ${CFLAGS} -fPIC," ${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${PREFIX}/lib/xmms/Input/xmms-mpegplus-1.8.0.so