aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/openssl-beta/Makefile4
-rw-r--r--security/openssl/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile
index ec5835514d83..70eef9eae29c 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
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