aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2005-04-08 22:30:18 +0800
committerskv <skv@FreeBSD.org>2005-04-08 22:30:18 +0800
commitb10bcbeb67f5142df3230109d9c5f8b7eb108a2c (patch)
tree9352b2158b2bca25ea93c8af23f70ea537714fc0 /www
parentc48c5d5f22967b30a638f2e3140b6725fe863b25 (diff)
downloadfreebsd-ports-gnome-b10bcbeb67f5142df3230109d9c5f8b7eb108a2c.tar.gz
freebsd-ports-gnome-b10bcbeb67f5142df3230109d9c5f8b7eb108a2c.tar.zst
freebsd-ports-gnome-b10bcbeb67f5142df3230109d9c5f8b7eb108a2c.zip
* add missed TestHarnessPHP.pm
* do not install fake 'warnings.pm' on perl 5.00503 Pointed by: pointyhat (kris)
Diffstat (limited to 'www')
-rw-r--r--www/p5-Apache-Test/Makefile3
-rw-r--r--www/p5-Apache-Test/pkg-plist1
2 files changed, 4 insertions, 0 deletions
diff --git a/www/p5-Apache-Test/Makefile b/www/p5-Apache-Test/Makefile
index 94ab4b279208..edf14ed030f0 100644
--- a/www/p5-Apache-Test/Makefile
+++ b/www/p5-Apache-Test/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Apache-Test
PORTVERSION= 1.21
+PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Apache
@@ -49,6 +50,8 @@ post-patch:
.if ${PERL_LEVEL} < 500600
@${PERL} -pi -e 's/\b(?:use|no) warnings[^;]*;//g' \
${WRKSRC}/lib/Apache/*.pm ${WRKSRC}/Makefile.PL ${WRKSRC}/install-pl
+ ${PERL} -pi -e '$$_="" if $$. == 24' \
+ ${WRKSRC}/lib/Apache/Test5005compat.pm
.endif
post-configure:
diff --git a/www/p5-Apache-Test/pkg-plist b/www/p5-Apache-Test/pkg-plist
index 2232391f4b95..0964b1332de3 100644
--- a/www/p5-Apache-Test/pkg-plist
+++ b/www/p5-Apache-Test/pkg-plist
@@ -13,6 +13,7 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Apache/TestConfigPerl.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Apache/TestHandler.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Apache/TestHarness.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Apache/TestHarnessPHP.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Apache/TestMB.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Apache/TestMM.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Apache/TestPerlDB.pm