summaryrefslogtreecommitdiff
path: root/security/openssl-beta
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2000-01-28 22:05:15 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2000-01-28 22:05:15 +0000
commitdb54ed8188a778fe4d701dfa5db9ad2a4df65b26 (patch)
treee8b29f9f1037723288a1d935f3c0837f3d8f399f /security/openssl-beta
parentuse -pthread instead of -lc_r and other minor changes (diff)
Check against ${OSVERSION} instead of the existence of the library files
whether openssl should be build or not.
Notes
Notes: svn path=/head/; revision=25185
Diffstat (limited to 'security/openssl-beta')
-rw-r--r--security/openssl-beta/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile
index 70eef9eae29c..f3e9c7371517 100644
--- a/security/openssl-beta/Makefile
+++ b/security/openssl-beta/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>