summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-02-13 06:04:01 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-02-13 06:04:01 +0000
commit93f918f4ad4bec8807ecd8fb585b3df2f6b6bdbb (patch)
tree4e29a58958f916070cb9404fbf5a61a9ebfc6471 /security/openssl
parentUpdate to 2.2.2. (diff)
- 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()
Notes
Notes: svn path=/head/; revision=75439
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile.ssl25
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