diff options
author | dirk <dirk@FreeBSD.org> | 1999-12-30 19:13:37 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 1999-12-30 19:13:37 +0800 |
commit | 989186de9e8e30ea545865cb1c3093b849b80fc7 (patch) | |
tree | ea17f6f427b2d387a04ab0929a6e6acb90c86d50 /security/openssl/Makefile | |
parent | 07e38f33111ee6965a0e417e63786688f26d0709 (diff) | |
download | freebsd-ports-gnome-989186de9e8e30ea545865cb1c3093b849b80fc7.tar.gz freebsd-ports-gnome-989186de9e8e30ea545865cb1c3093b849b80fc7.tar.zst freebsd-ports-gnome-989186de9e8e30ea545865cb1c3093b849b80fc7.zip |
Check wheather OpenSSL is installed in the base system already and
skip openssl port if so.
(I. e. check the existence of /usr/bin/openssl, /usr/lib/libcrypto.so
and /usr/lib/libssl.so. If they exist set FORBIDDEN.)
Diffstat (limited to 'security/openssl/Makefile')
-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 ec5835514d83..70eef9eae29c 100644 --- a/security/openssl/Makefile +++ b/security/openssl/Makefile @@ -15,6 +15,10 @@ MASTER_SITES= http://www.openssl.org/source/ \ MAINTAINER= dirk@FreeBSD.org +.if exists(/usr/bin/openssl) && exists(/usr/lib/libcrypto.so) && exists(/usr/lib/libssl.so) +FORBIDDEN= "OpenSSL is already in the base system" +.endif + RESTRICTED= "Cryptography" USE_PERL5= yes ALL_TARGET= freebsd-shared all |