diff options
author | culot <culot@FreeBSD.org> | 2014-11-02 16:28:27 +0800 |
---|---|---|
committer | culot <culot@FreeBSD.org> | 2014-11-02 16:28:27 +0800 |
commit | ff41504d366dab6b08160f624472734f2ceb9147 (patch) | |
tree | 3e18b604df8bd0f3a380a5d792175e32b05a3be4 /security | |
parent | 254fa280328333345f510467cd897222f5ad6ade (diff) | |
download | freebsd-ports-gnome-ff41504d366dab6b08160f624472734f2ceb9147.tar.gz freebsd-ports-gnome-ff41504d366dab6b08160f624472734f2ceb9147.tar.zst freebsd-ports-gnome-ff41504d366dab6b08160f624472734f2ceb9147.zip |
- Fix build for Perl < 5.18
Reported by: antoine@
Pointy hat: culot@
Diffstat (limited to 'security')
-rw-r--r-- | security/p5-Filter-Crypto/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/p5-Filter-Crypto/Makefile b/security/p5-Filter-Crypto/Makefile index 6d926d48de11..97f14fcf8c4d 100644 --- a/security/p5-Filter-Crypto/Makefile +++ b/security/p5-Filter-Crypto/Makefile @@ -21,4 +21,10 @@ USE_PERL5= configure USE_OPENSSL= yes CONFIGURE_ARGS= --prefix-dir=${OPENSSLBASE} --defaults -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501800 +BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.66:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker +.endif + +.include <bsd.port.post.mk> |