diff options
author | tobez <tobez@FreeBSD.org> | 2005-04-11 08:40:49 +0000 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2005-04-11 08:40:49 +0000 |
commit | 44fbf20fbc837d4a5a9217a0029d0f67df574ecc (patch) | |
tree | 81b501831b22297b4becaf64c85e3f36ff38db77 /www/p5-CGI.pm | |
parent | 12af41b4d35ee3c5f26d7b062d7983beaed0f88d (diff) | |
download | FreeBSD-ports-44fbf20fbc837d4a5a9217a0029d0f67df574ecc.zip FreeBSD-ports-44fbf20fbc837d4a5a9217a0029d0f67df574ecc.tar.gz |
Fxi build with system perl.
Diffstat (limited to 'www/p5-CGI.pm')
-rw-r--r-- | www/p5-CGI.pm/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/p5-CGI.pm/Makefile b/www/p5-CGI.pm/Makefile index 964104c9..9705729 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> |