summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2001-12-06 10:13:25 +0000
committertobez <tobez@FreeBSD.org>2001-12-06 10:13:25 +0000
commit7872010eda177f5bd87d9e35f9c6c5c5a4282789 (patch)
treeedb7386c2f1d8bb7d684b5fffa141259fdb2a3b2 /www
parent65d9894e643f7fd06d8add42765a2ef35019a873 (diff)
downloadFreeBSD-ports-7872010eda177f5bd87d9e35f9c6c5c5a4282789.zip
FreeBSD-ports-7872010eda177f5bd87d9e35f9c6c5c5a4282789.tar.gz
Make it work with -stable perl (5.005_03 does not allow
exists($ary[bla])).
Diffstat (limited to 'www')
-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 d8b43bd..a2ad968 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>
OpenPOWER on IntegriCloud