summaryrefslogtreecommitdiffstats
path: root/security/openssl-beta/Makefile
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-12-30 11:13:37 +0000
committerdirk <dirk@FreeBSD.org>1999-12-30 11:13:37 +0000
commit989186de9e8e30ea545865cb1c3093b849b80fc7 (patch)
treeea17f6f427b2d387a04ab0929a6e6acb90c86d50 /security/openssl-beta/Makefile
parent07e38f33111ee6965a0e417e63786688f26d0709 (diff)
downloadFreeBSD-ports-989186de9e8e30ea545865cb1c3093b849b80fc7.zip
FreeBSD-ports-989186de9e8e30ea545865cb1c3093b849b80fc7.tar.gz
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-beta/Makefile')
-rw-r--r--security/openssl-beta/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile
index ec58355..70eef9e 100644
--- a/security/openssl-beta/Makefile
+++ b/security/openssl-beta/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
OpenPOWER on IntegriCloud