summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-01-31 05:53:55 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-01-31 05:53:55 +0000
commitf78bea0816cf54b9f86127b1f8e2d37fe6039fec (patch)
tree2ccfd85b088e69a02507860845141bf41b74b45c
parentuse iconv instead of libjconv. (diff)
- break build, when port try to pick up the wrong shared lib.
Notes
Notes: svn path=/head/; revision=74327
-rw-r--r--security/openssl/Makefile.ssl8
1 files changed, 8 insertions, 0 deletions
diff --git a/security/openssl/Makefile.ssl b/security/openssl/Makefile.ssl
index 643704f89b83..fa775e034068 100644
--- a/security/openssl/Makefile.ssl
+++ b/security/openssl/Makefile.ssl
@@ -19,6 +19,14 @@ OPENSSLDIR= /etc/ssl
@${ECHO_CMD} "OpenSSL distribution."
@${FALSE}
.endif
+.if exists(${LOCALBASE}/lib/libcrypto.so)
+.BEGIN:
+ @${ECHO_CMD} "This port wants the OpenSSL library from the FreeBSD"
+ @${ECHO_CMD} "base system. You can't build against it, while a newer"
+ @${ECHO_CMD} "Version is installed by a port."
+ @${ECHO_CMD} "Please deinstall the port or undefine USE_OPENSSL_BASE."
+ @${FALSE}
+.endif
# OpenSSL in the base system may not include IDEA for patent licensing reasons.
.if defined(MAKE_IDEA) && !defined(OPENSSL_IDEA)