summaryrefslogtreecommitdiff
path: root/audio/p5-Xmms
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-02-19 18:30:49 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-02-19 18:30:49 +0000
commitaa42f81066e72ada9e5cce9af409b0cfaf2eb84e (patch)
tree1314157e251ddeb29f847fd9207543de6f96bb2a /audio/p5-Xmms
parent- Update download URL. (diff)
Fix plist on 4.x
Fix pthread libs by using PTHREAD_LIBS PR: ports/77742 Submitted by: Florent Thoumie <flz at xbsd.org>
Notes
Notes: svn path=/head/; revision=129298
Diffstat (limited to 'audio/p5-Xmms')
-rw-r--r--audio/p5-Xmms/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/audio/p5-Xmms/Makefile b/audio/p5-Xmms/Makefile
index 4ccfb7baa96f..a1f36c1f72f5 100644
--- a/audio/p5-Xmms/Makefile
+++ b/audio/p5-Xmms/Makefile
@@ -24,11 +24,21 @@ BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms \
site_perl= ${SITE_PERL}
PERL_CONFIGURE= YES
+USE_REINPLACE= yes
-MAN3= Xmms::Config.3 \
- Xmms::Remote.3 \
+MAN3= Xmms::Remote.3 \
Xmms::SongChange.3 \
Xmms.3 \
Bundle::Xmms.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 500800
+MAN3+= Xmms::Config.3
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \
+ ${WRKSRC}/SongChange/Makefile.PL
+
+.include <bsd.port.post.mk>