summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2014-11-02 08:28:27 +0000
committerFrederic Culot <culot@FreeBSD.org>2014-11-02 08:28:27 +0000
commit35d791038c41de5e2e188d1f4f8ff3c3700688cd (patch)
tree3e18b604df8bd0f3a380a5d792175e32b05a3be4
parent0c42c7cae791e80d07a61cff9b41f017e29cfb23 (diff)
downloadfreebsd-ports-35d791038c41de5e2e188d1f4f8ff3c3700688cd.zip
- Fix build for Perl < 5.18
Reported by: antoine@ Pointy hat: culot@
-rw-r--r--security/p5-Filter-Crypto/Makefile8
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>