summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/py-cryptography/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/security/py-cryptography/Makefile b/security/py-cryptography/Makefile
index 9fc184a00ef1..7ca02284626f 100644
--- a/security/py-cryptography/Makefile
+++ b/security/py-cryptography/Makefile
@@ -27,6 +27,11 @@ USE_PYTHON= autoplist distutils
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
+# Modern py-cyptography requires newer OpenSSL
+.if ${OSVERSION} < 1000000
+WITH_OPENSSL_PORT= yes
+.endif
+
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3300