summaryrefslogtreecommitdiffstats
path: root/security/openssl
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2000-01-28 22:05:15 +0000
committerdirk <dirk@FreeBSD.org>2000-01-28 22:05:15 +0000
commit30612f3c6220ce89675138da48dc795275954954 (patch)
tree497d6d29672282e25d36a4a2c57e2cbe56a1079a /security/openssl
parentca7204be1cc0f635a566ffc99b098c498583b747 (diff)
downloadFreeBSD-ports-30612f3c6220ce89675138da48dc795275954954.zip
FreeBSD-ports-30612f3c6220ce89675138da48dc795275954954.tar.gz
Check against ${OSVERSION} instead of the existence of the library files
whether openssl should be build or not.
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 70eef9e..f3e9c73 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -15,7 +15,8 @@ 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)
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 400014
FORBIDDEN= "OpenSSL is already in the base system"
.endif
@@ -57,4 +58,4 @@ post-install:
.endif
@${SED} -e 's#/usr/local#${PREFIX}#g' ${PKGDIR}/MESSAGE
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud