diff options
author | dirk <dirk@FreeBSD.org> | 2000-01-28 22:05:15 +0000 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2000-01-28 22:05:15 +0000 |
commit | 30612f3c6220ce89675138da48dc795275954954 (patch) | |
tree | 497d6d29672282e25d36a4a2c57e2cbe56a1079a | |
parent | ca7204be1cc0f635a566ffc99b098c498583b747 (diff) | |
download | FreeBSD-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.
-rw-r--r-- | security/openssl-beta/Makefile | 5 | ||||
-rw-r--r-- | security/openssl/Makefile | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile index 70eef9e..f3e9c73 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> 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> |