Properly prevent install of bin/prove under new perls

Noticed by:	pointyhat via pav
This commit is contained in:
Lars Thegler 2009-01-15 12:07:14 +00:00
parent 96ce0b1cfb
commit 547a6c47fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226165

View File

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