diff options
author | dinoex <dinoex@FreeBSD.org> | 2014-03-02 21:13:27 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2014-03-02 21:13:27 +0800 |
commit | c858a35a66de91548304aa6f889d731b0408c3bc (patch) | |
tree | e2f2932c3674b3ad40ea90e802d852e4940ea128 /security/openssl | |
parent | 2e85493c2f148ad5bd8d2ebf7bb3d10e20e7deb3 (diff) | |
download | freebsd-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/Makefile | 4 |
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} |