diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-02-19 18:30:49 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-02-19 18:30:49 +0000 |
commit | aa42f81066e72ada9e5cce9af409b0cfaf2eb84e (patch) | |
tree | 1314157e251ddeb29f847fd9207543de6f96bb2a /audio/p5-Xmms | |
parent | 187db2098570ea10519b355db149c6d9d7ba22a6 (diff) | |
download | ports-aa42f81066e72ada9e5cce9af409b0cfaf2eb84e.tar.gz ports-aa42f81066e72ada9e5cce9af409b0cfaf2eb84e.zip |
Notes
Diffstat (limited to 'audio/p5-Xmms')
-rw-r--r-- | audio/p5-Xmms/Makefile | 16 |
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> |