aboutsummaryrefslogtreecommitdiff
path: root/www/p5-CGI.pm
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-04-11 08:40:49 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-04-11 08:40:49 +0000
commit7cb23318d305d762999ad77bb67b17bd41810601 (patch)
tree07212af311ddbc985b697d2611d1466eaac6bba1 /www/p5-CGI.pm
parentcab92a3dee08d58d2092212ce8d374ac4719010d (diff)
downloadports-7cb23318d305d762999ad77bb67b17bd41810601.tar.gz
ports-7cb23318d305d762999ad77bb67b17bd41810601.zip
Fxi build with system perl.
Notes
Notes: svn path=/head/; revision=133003
Diffstat (limited to 'www/p5-CGI.pm')
-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>