aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Apache-Admin-Config
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2001-12-06 10:13:25 +0000
committerAnton Berezin <tobez@FreeBSD.org>2001-12-06 10:13:25 +0000
commit707bc7add3b55be5f38c7ed7b736de65faa94fa8 (patch)
treecf035189aabdbeeb4bde0a4d1f5465feac072414 /www/p5-Apache-Admin-Config
parent421ad10a613dbbb86cb9470f624d8c14cf2d44be (diff)
downloadports-707bc7add3b55be5f38c7ed7b736de65faa94fa8.tar.gz
ports-707bc7add3b55be5f38c7ed7b736de65faa94fa8.zip
Make it work with -stable perl (5.005_03 does not allow
exists($ary[bla])).
Notes
Notes: svn path=/head/; revision=51126
Diffstat (limited to 'www/p5-Apache-Admin-Config')
-rw-r--r--www/p5-Apache-Admin-Config/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/p5-Apache-Admin-Config/Makefile b/www/p5-Apache-Admin-Config/Makefile
index d8b43bdaa1bd..a2ad96847644 100644
--- a/www/p5-Apache-Admin-Config/Makefile
+++ b/www/p5-Apache-Admin-Config/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Apache-Admin-Config
PORTVERSION= 0.12
+PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Apache
@@ -23,5 +24,7 @@ post-patch:
${PERL} -pi -e 's/(!\$$)/0 && $1/;' \
-e 's|(VERSION_FROM\s+=>\s+)(.*)(,.*)$$|$$1$$2$$3\nMAN3PODS=>{$$2=>q!\\\$$(INST_MAN3DIR)/${MAN3}!},|;' \
${WRKSRC}/Makefile.PL
+ ${PERL} -pi -e 's/exists(\s+.*\[.*\])/defined$$1/' \
+ ${WRKSRC}/lib/Apache/Admin/Config.pm
.include <bsd.port.mk>