summaryrefslogtreecommitdiffstats
path: root/www/p5-Apache-Admin-Config
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2001-12-06 12:14:14 +0000
committertobez <tobez@FreeBSD.org>2001-12-06 12:14:14 +0000
commit4eb7f17556910a2fcfc6357075f60e5553ea0f74 (patch)
treef9a510231fc505b5ccd647f231b29708e8812d7e /www/p5-Apache-Admin-Config
parent64a94bf51837aa44ec9b5803b3edc3c50c73bed3 (diff)
downloadFreeBSD-ports-4eb7f17556910a2fcfc6357075f60e5553ea0f74.zip
FreeBSD-ports-4eb7f17556910a2fcfc6357075f60e5553ea0f74.tar.gz
Avoid the module to enter an endless loop under certain circumstances.
Yes, the fix was submitted to the module author. :-)
Diffstat (limited to 'www/p5-Apache-Admin-Config')
-rw-r--r--www/p5-Apache-Admin-Config/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/p5-Apache-Admin-Config/Makefile b/www/p5-Apache-Admin-Config/Makefile
index a2ad968..7eb0dde 100644
--- a/www/p5-Apache-Admin-Config/Makefile
+++ b/www/p5-Apache-Admin-Config/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Apache-Admin-Config
PORTVERSION= 0.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Apache
@@ -24,7 +24,8 @@ 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/' \
+ ${PERL} -pi -e 's/exists(\s+.*\[.*\])/defined$$1/;' \
+ -e 's/return \$$self unless/return overload::StrVal(\$$self) unless/' \
${WRKSRC}/lib/Apache/Admin/Config.pm
.include <bsd.port.mk>
OpenPOWER on IntegriCloud