aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2005-04-11 16:40:49 +0800
committertobez <tobez@FreeBSD.org>2005-04-11 16:40:49 +0800
commit44fbf20fbc837d4a5a9217a0029d0f67df574ecc (patch)
tree81b501831b22297b4becaf64c85e3f36ff38db77 /www
parent12af41b4d35ee3c5f26d7b062d7983beaed0f88d (diff)
downloadfreebsd-ports-gnome-44fbf20fbc837d4a5a9217a0029d0f67df574ecc.tar.gz
freebsd-ports-gnome-44fbf20fbc837d4a5a9217a0029d0f67df574ecc.tar.zst
freebsd-ports-gnome-44fbf20fbc837d4a5a9217a0029d0f67df574ecc.zip
Fxi build with system perl.
Diffstat (limited to 'www')
-rw-r--r--www/p5-CGI.pm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/p5-CGI.pm/Makefile b/www/p5-CGI.pm/Makefile
index 964104c93c98..970572943407 100644
--- a/www/p5-CGI.pm/Makefile
+++ b/www/p5-CGI.pm/Makefile
@@ -46,7 +46,10 @@ post-install:
.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-BROKEN= "Does not build with perl < 5.6"
+
+post-patch:
+ @${PERL} -i -pe '$$_ = "" if /require 5\.6/' ${WRKSRC}/Makefile.PL
+
.endif
.include <bsd.port.post.mk>