aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-Harness
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2009-01-15 12:07:14 +0000
committerLars Thegler <lth@FreeBSD.org>2009-01-15 12:07:14 +0000
commit547a6c47fe5c2d3cf215bf1dce02a2be2e0c2af9 (patch)
tree0d8f05014772efcf9aed277e1bcfa7db5e17f437 /devel/p5-Test-Harness
parent96ce0b1cfba92730e0ab2dcbc3ec7242936bb73c (diff)
downloadports-547a6c47fe5c2d3cf215bf1dce02a2be2e0c2af9.tar.gz
ports-547a6c47fe5c2d3cf215bf1dce02a2be2e0c2af9.zip
Properly prevent install of bin/prove under new perls
Noticed by: pointyhat via pav
Notes
Notes: svn path=/head/; revision=226165
Diffstat (limited to 'devel/p5-Test-Harness')
-rw-r--r--devel/p5-Test-Harness/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/p5-Test-Harness/Makefile b/devel/p5-Test-Harness/Makefile
index 794a94a0f16c..f8261d72f4c5 100644
--- a/devel/p5-Test-Harness/Makefile
+++ b/devel/p5-Test-Harness/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Test-Harness
PORTVERSION= 3.14
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -63,6 +64,8 @@ MAN3= App::Prove.3 \
.if ${PERL_LEVEL} >= 500800
.undef MAN1
PLIST_SUB+= PL_FILES="@comment "
+pre-patch:
+ @${PERL} -pi -e "s,'bin/prove',," ${WRKSRC}/Makefile.PL
.else
PLIST_SUB+= PL_FILES=""
.endif