aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-OpenSSL-CA/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/p5-Crypt-OpenSSL-CA/Makefile')
-rw-r--r--security/p5-Crypt-OpenSSL-CA/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/p5-Crypt-OpenSSL-CA/Makefile b/security/p5-Crypt-OpenSSL-CA/Makefile
index 5b8d9ba69a7d..528cfcd182af 100644
--- a/security/p5-Crypt-OpenSSL-CA/Makefile
+++ b/security/p5-Crypt-OpenSSL-CA/Makefile
@@ -32,4 +32,10 @@ MAN3= Crypt::OpenSSL::CA.3 \
Crypt::OpenSSL::CA::Inline::C.3 \
Crypt::OpenSSL::CA::Resources.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+= p5-Module-Build>=0.2900:${PORTSDIR}/devel/p5-Module-Build
+.endif
+
+.include <bsd.port.post.mk>