aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssl/Makefile')
-rw-r--r--security/openssl/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 3f148d8276c9..5f9cc0d16877 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -925,6 +925,16 @@ pre-everything::
@${FALSE}
.endif
+.if exists(/usr/lib/libcrypto.so.3) && ${OPENSSL_SHLIBVER} != 3
+pre-everything::
+ @${ECHO_CMD} "#"
+ @${ECHO_CMD} "# this ports conflicts with your base system"
+ @${ECHO_CMD} "# please undefine OPENSSL_OVERWRITE_BASE"
+ @${ECHO_CMD} "# and use WITH_OPENSSL_PORT=yes instead."
+ @${ECHO_CMD} "#"
+ @${FALSE}
+
+.endif
BASE_SUFFIX= -overwrite-base
PREFIX= /usr
OPENSSLDIR= /etc/ssl