aboutsummaryrefslogtreecommitdiff
path: root/audio/libsidplay2
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-01 18:58:35 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-01 18:58:35 +0000
commit5fc2e5e82e8f9e884bc2eb5a338420ccffce0060 (patch)
tree0a18237da6b9c6f72200713d25a44a9f8614cc73 /audio/libsidplay2
parentb614cbe63ce15bd040026f8fd7c7746ce364d69b (diff)
downloadports-5fc2e5e82e8f9e884bc2eb5a338420ccffce0060.tar.gz
ports-5fc2e5e82e8f9e884bc2eb5a338420ccffce0060.zip
Notes
Diffstat (limited to 'audio/libsidplay2')
-rw-r--r--audio/libsidplay2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/libsidplay2/Makefile b/audio/libsidplay2/Makefile
index acf60930098b..31656c927558 100644
--- a/audio/libsidplay2/Makefile
+++ b/audio/libsidplay2/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libsidplay2
PORTVERSION= 2.1.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= audio emulators
MASTER_SITES= SF/sidplay2/sidplay2/sidplay-libs-${PORTVERSION}
DISTNAME= sidplay-libs-${PORTVERSION}
@@ -19,5 +19,8 @@ USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' \
${WRKSRC}/libsidutils/src/ini/ini.cpp
+ @${REINPLACE_CMD} '/^Libs:/s|\($${libdir}\)/lib\(.*\).la|-L\1 -l\2|' \
+ ${WRKSRC}/libsidplay/unix/libsidplay2.pc.in \
+ ${WRKSRC}/libsidutils/unix/libsidutils.pc.in
.include <bsd.port.mk>