From 93f918f4ad4bec8807ecd8fb585b3df2f6b6bdbb Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Thu, 13 Feb 2003 06:04:01 +0000 Subject: [PATCH] - add more comments - regonize that 5-CURRENT has 0.9.7 after 2003-01-28 OSVERSION 500100 was bumped at 2003-01-23, detection by exist() --- security/openssl/Makefile.ssl | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/security/openssl/Makefile.ssl b/security/openssl/Makefile.ssl index 11d7db7fc28f..4ef4be2a3258 100644 --- a/security/openssl/Makefile.ssl +++ b/security/openssl/Makefile.ssl @@ -4,6 +4,31 @@ # # $FreeBSD$ # +# this substitutes USE_OPENSSL=yes +# just include this makefile after bsd.ports.pre.mk +# +# the user/port can now set this options in the makefiles. +# +# USE_OPENSSL_BASE=yes - Use the version in the base system. +# USE_OPENSSL_BETA=yes - Use a snapshot of recent openssl +# +# The makefile sets this variables: +# OPENSSLBASE - "/usr" or ${LOCALBASE} +# OPENSSLDIR - path to openssl +# OPENSSLLIB - path to the libs +# OPENSSLINC - path to the matching includes +# +# MAKE_ENV - extended with the variables above +# LIB_DEPENDS - are added if needed + +# if no preference was set, check for an up to date base version +.if !defined(USE_OPENSSL_BASE) && !defined(USE_OPENSSL_BETA) +# 4-STABLE is not up to date yet +# 5-CURRENT has 0.9.7 after 2003-01-28, 500100 was bumped at 2003-01-23 +.if exists(/usr/lib/libcrypto.so.3) +USE_OPENSSL_BASE=yes +.endif +.endif .if defined(USE_OPENSSL_BASE) OPENSSLBASE= /usr