aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/libsidplay2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/libsidplay2/Makefile b/audio/libsidplay2/Makefile
index 31656c927558..456a41353999 100644
--- a/audio/libsidplay2/Makefile
+++ b/audio/libsidplay2/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libsidplay2
PORTVERSION= 2.1.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= audio emulators
MASTER_SITES= SF/sidplay2/sidplay2/sidplay-libs-${PORTVERSION}
DISTNAME= sidplay-libs-${PORTVERSION}
@@ -16,6 +16,8 @@ INSTALL_TARGET= install-strip
USES= gmake libtool pathfix pkgconfig
USE_LDCONFIG= yes
+CFLAGS_amd64+= -fPIC
+
post-patch:
@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' \
${WRKSRC}/libsidutils/src/ini/ini.cpp