aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssl/Makefile')
-rw-r--r--security/openssl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 77851a814538..35ff33923870 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -47,7 +47,11 @@ INSTALLS_SHLIB= yes
.if defined(OPENSSL_OVERWRITE_BASE)
PKGNAMESUFFIX= -overwrite-base
PREFIX= /usr
+.if exists(/usr/lib/libcrypto.so.3)
+SHLIBVER= 3
+.else
SHLIBVER= 2
+.endif
OPENSSLDIR= /etc/ssl
MANPREFIX= ${PREFIX}/openssl
PLIST_SUB+= MANDIR=""