Fix plist on 4.x

Fix pthread libs by using PTHREAD_LIBS

PR:		ports/77742
Submitted by:	Florent Thoumie <flz at xbsd.org>
This commit is contained in:
Kirill Ponomarev 2005-02-19 18:30:49 +00:00
parent 187db20985
commit aa42f81066
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129298

View file

@ -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>