diff options
-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> |