diff options
Diffstat (limited to 'security/openssl/buildlink2.mk')
-rw-r--r-- | security/openssl/buildlink2.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/security/openssl/buildlink2.mk b/security/openssl/buildlink2.mk index 2570c2718ff..a86c5dd9a1a 100644 --- a/security/openssl/buildlink2.mk +++ b/security/openssl/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.3 2002/09/05 12:44:21 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.4 2003/07/24 20:18:24 tron Exp $ # # Optionally define USE_OPENSSL_VERSION to the mininum OpenSSL version # number in <openssl/opensslv.h>, i.e. 0x0090600fL, etc. @@ -17,6 +17,7 @@ OPENSSL_VERSION_096D= 0x0090604fL OPENSSL_VERSION_096E= 0x0090605fL OPENSSL_VERSION_096F= 0x0090606fL OPENSSL_VERSION_096G= 0x0090607fL +OPENSSL_VERSION_097B= 0x0090702fL # Check for a usable installed version of OpenSSL. Version must be greater # than 0.9.6f, or else contain a fix for the 2002-07-30 security advisory. @@ -53,6 +54,13 @@ BUILDLINK_DEPENDS.openssl= openssl>=0.9.6g _VALID_SSL_VERSIONS+= ${OPENSSL_VERSION_096G} . endif +. if ${USE_OPENSSL_VERSION} == ${OPENSSL_VERSION_097B} # OpenSSL 0.9.7b +_VALID_SSL_VERSIONS= ${OPENSSL_VERSION_097B} +BUILDLINK_DEPENDS.openssl= openssl>=0.9.7b +. else +_VALID_SSL_VERSIONS+= ${OPENSSL_VERSION_097B} +. endif + . for PATTERN in ${_VALID_SSL_VERSIONS} . if ${_OPENSSL_VERSION:M${PATTERN}} != "" _NEED_OPENSSL= NO |