aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssl
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2014-03-02 21:13:27 +0800
committerdinoex <dinoex@FreeBSD.org>2014-03-02 21:13:27 +0800
commitc858a35a66de91548304aa6f889d731b0408c3bc (patch)
treee2f2932c3674b3ad40ea90e802d852e4940ea128 /security/openssl
parent2e85493c2f148ad5bd8d2ebf7bb3d10e20e7deb3 (diff)
downloadfreebsd-ports-gnome-c858a35a66de91548304aa6f889d731b0408c3bc.tar.gz
freebsd-ports-gnome-c858a35a66de91548304aa6f889d731b0408c3bc.tar.zst
freebsd-ports-gnome-c858a35a66de91548304aa6f889d731b0408c3bc.zip
- error out early if users trying to break their base system
PR: 187076
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 8bef03e4fe51..1752dec202d5 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -78,6 +78,10 @@ FIX_POD=apps/cms.pod \
.include <bsd.port.pre.mk>
+.if ${PREFIX} == /usr
+IGNORE= OpenSSL can not be installed over the base version
+.endif
+
OPENSSL_BASE_SONAME!= readlink ${DESTDIR}/usr/lib/libcrypto.so || true
OPENSSL_SHLIBVER_BASE= ${OPENSSL_BASE_SONAME:E}
OPENSSL_BASE_SOPATH= ${OPENSSL_BASE_SONAME:H}