remove LD_PRELOAD=libpthread.so wrapper hack

This commit is contained in:
sthen 2013-05-04 10:33:55 +00:00
parent 11317b0758
commit 430b446a0f
3 changed files with 3 additions and 19 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.20 2013/03/11 10:50:31 espie Exp $
# $OpenBSD: Makefile,v 1.21 2013/05/04 10:33:55 sthen Exp $
COMMENT= decentralized version control system
V= 2.2.1
REVISION= 1
REVISION= 2
DISTNAME= SVK-v${V}
PKGNAME= svk-${V}
CATEGORIES= devel perl5
@ -48,17 +48,4 @@ CONFIGURE_STYLE= perl
TEST_DEPENDS=devel/p5-BSD-Resource \
devel/p5-Test-Pod
# XXX remove entire section below when perl is -lpthread
CONFIGURE_ENV= LD_PRELOAD=libpthread.so
post-configure:
${SUBST_CMD} -c ${FILESDIR}/wrapper.sh ${WRKDIR}/wrapper.sh
post-install:
mv ${PREFIX}/bin/svk ${PREFIX}/libexec/
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/svk
###
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
#!/bin/sh
LD_PRELOAD=libpthread.so exec ${PREFIX}/libexec/svk $*

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2012/09/10 14:38:00 sthen Exp $
@comment $OpenBSD: PLIST,v 1.6 2013/05/04 10:33:56 sthen Exp $
@conflict p5-SVK-*
bin/svk
${P5SITE}/SVK/
@ -159,7 +159,6 @@ ${P5SITE}/SVK/Util.pm
${P5SITE}/SVK/Version.pm
${P5SITE}/SVK/View.pm
${P5SITE}/SVK/XD.pm
libexec/svk
@man man/man1/svk.1
@man man/man3p/SVK.3p
@man man/man3p/SVK::Command.3p