aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.openssl.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.openssl.mk b/Mk/bsd.openssl.mk
index bbd8e69d28b3..746857296470 100644
--- a/Mk/bsd.openssl.mk
+++ b/Mk/bsd.openssl.mk
@@ -107,7 +107,7 @@ OPENSSL_SHLIBVER?= ${OPENSSL_SHLIBFILE:E}
.endif
# try to guess SHLIBVER for libressl
-.if ${OPENSSL_PORT} == "security/libressl"
+.if defined(OPENSSL_PORT) && ${OPENSSL_PORT} == security/libressl
OPENSSL_SHLIBVER?= 30
.endif