summaryrefslogtreecommitdiffstats
path: root/security/softhsm2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/softhsm2/Makefile')
-rw-r--r--security/softhsm2/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/softhsm2/Makefile b/security/softhsm2/Makefile
index a519524..3bf3a48 100644
--- a/security/softhsm2/Makefile
+++ b/security/softhsm2/Makefile
@@ -38,8 +38,10 @@ CRYP_OPEN_USE= openssl=yes
CRYP_OPEN_VARS= WITH_OPENSSL_PORT=yes
CRYP_OPEN_CONFIGURE_ON= --with-crypto-backend=openssl
-.if defined(OPENSSL_PORT) && ${OPENSSL_PORT} == security/libressl
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT} == libressl
CONFIGURE_ARGS+= --disable-gost
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud