diff options
author | dinoex <dinoex@FreeBSD.org> | 2005-11-12 05:58:51 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2005-11-12 05:58:51 +0800 |
commit | 16075466c1aae518d40d73c71c84a5d85b67b877 (patch) | |
tree | 6daef787d714de82cd3ca92576bd3a92821e4cf8 /Mk/bsd.openssl.mk | |
parent | 4ed6d2c7a570705d6241c74d07ce1ddf03313812 (diff) | |
download | freebsd-ports-gnome-16075466c1aae518d40d73c71c84a5d85b67b877.tar.gz freebsd-ports-gnome-16075466c1aae518d40d73c71c84a5d85b67b877.tar.zst freebsd-ports-gnome-16075466c1aae518d40d73c71c84a5d85b67b877.zip |
- reorder osversion check
PR: 88825
Diffstat (limited to 'Mk/bsd.openssl.mk')
-rw-r--r-- | Mk/bsd.openssl.mk | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/Mk/bsd.openssl.mk b/Mk/bsd.openssl.mk index bb0d1cbe09bc..2f767ad0e4d6 100644 --- a/Mk/bsd.openssl.mk +++ b/Mk/bsd.openssl.mk @@ -2,7 +2,7 @@ # Date created: 31 May 2002 # Whom: dinoex # -# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.27 2005-11-08 08:44:33 dinoex Exp $ +# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.28 2005-11-11 21:58:51 dinoex Exp $ # # Use of 'USE_OPENSSL=yes' includes this Makefile after bsd.ports.pre.mk # @@ -46,15 +46,6 @@ WITH_OPENSSL_PORT=yes WITH_OPENSSL_STABLE=yes .endif -.if defined(WITH_OPENSSL_PORT) -.if !defined(WITHOUT_OPENSSL_097) && !defined(WITH_OPENSSL_BETA) -.if ( ${OSVERSION} >= 600000 ) && ( ${OSVERSION} < 600100 ) -WITH_OPENSSL_STABLE=yes -OPENSSL_PORT?= security/openssl -.endif -.endif -.endif - # if no preference was set, check for an installed base version # but give an installed port preference over it. .if !defined(WITH_OPENSSL_BASE) && \ @@ -114,15 +105,21 @@ OPENSSLBASE= ${LOCALBASE} .if defined(WITH_OPENSSL_BETA) OPENSSL_PORT?= security/openssl-beta OPENSSL_SHLIBVER?= 4 -.else -.if defined(WITH_OPENSSL_STABLE) +.elif defined(WITH_OPENSSL_STABLE) OPENSSL_PORT?= security/openssl-stable OPENSSL_SHLIBVER?= 3 .else +.if !defined(WITHOUT_OPENSSL_097) +.if ( ${OSVERSION} >= 600000 ) && ( ${OSVERSION} < 600100 ) OPENSSL_PORT?= security/openssl -OPENSSL_SHLIBVER?= 4 +OPENSSL_SHLIBVER?= 3 +.endif .endif +OPENSSL_PORT?= security/openssl +OPENSSL_SHLIBVER?= 4 .endif + + OPENSSLDIR= ${OPENSSLBASE}/openssl BUILD_DEPENDS+= ${LOCALBASE}/lib/libcrypto.so.${OPENSSL_SHLIBVER}:${PORTSDIR}/${OPENSSL_PORT} RUN_DEPENDS+= ${LOCALBASE}/lib/libcrypto.so.${OPENSSL_SHLIBVER}:${PORTSDIR}/${OPENSSL_PORT} |