diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-02-13 06:04:01 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-02-13 06:04:01 +0000 |
commit | 93f918f4ad4bec8807ecd8fb585b3df2f6b6bdbb (patch) | |
tree | 4e29a58958f916070cb9404fbf5a61a9ebfc6471 /security | |
parent | 8e693a3abf54d4e8035eccf301643a52179661fd (diff) |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/openssl/Makefile.ssl | 25 |
1 files changed, 25 insertions, 0 deletions
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 |