aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-01-16 03:36:04 +0800
committerleeym <leeym@FreeBSD.org>2006-01-16 03:36:04 +0800
commit5ff93d3fbeccbba90005d0e42600485b6245547a (patch)
tree25a09b4a33f0fc1f85f4bd930ad85d2d470bb5d5
parentfd12a7e0ddab34a4af3805c5a8f5e232c7853cf5 (diff)
downloadfreebsd-ports-gnome-5ff93d3fbeccbba90005d0e42600485b6245547a.tar.gz
freebsd-ports-gnome-5ff93d3fbeccbba90005d0e42600485b6245547a.tar.zst
freebsd-ports-gnome-5ff93d3fbeccbba90005d0e42600485b6245547a.zip
- assign to perl@
- unbreak on old perl
-rw-r--r--devel/p5-Test-Manifest/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/p5-Test-Manifest/Makefile b/devel/p5-Test-Manifest/Makefile
index 7c5a4ae2dff4..f35f3b2535ab 100644
--- a/devel/p5-Test-Manifest/Makefile
+++ b/devel/p5-Test-Manifest/Makefile
@@ -12,17 +12,21 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module to interact with a t/test_manifest file
+BUILD_DEPENDS= ${SITE_PERL}/Test/Simple.pm:${PORTSDIR}/devel/p5-Test-Simple
+
PERL_CONFIGURE= YES
MAN3= Test::Manifest.3
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 500601
-IGNORE= Requires perl 5.6.1 or above
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ ${PERL} -pi -e '$$_="" if m{5.006}' ${WRKSRC}/Makefile.PL ${WRKSRC}/lib/Manifest.pm
+ ${PERL} -pi -e 's/(my\( )?\$$fh( \))?/FH/' ${WRKSRC}/lib/Manifest.pm
.endif
.include <bsd.port.post.mk>