1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- break build, when port try to pick up the wrong shared lib.

This commit is contained in:
Dirk Meyer 2003-01-31 05:53:55 +00:00
parent 894354857f
commit f78bea0816
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74327

View File

@ -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)