aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssl
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-02-13 14:04:01 +0800
committerdinoex <dinoex@FreeBSD.org>2003-02-13 14:04:01 +0800
commitbc6e94455a5ac6fde53f10da1e04a3688b4644b7 (patch)
tree221e759d75c485d057c3110e4dfc8b7f896af1e7 /security/openssl
parent88f303d6bd92eb4581ebe49f2dee7b65de89567d (diff)
downloadfreebsd-ports-gnome-bc6e94455a5ac6fde53f10da1e04a3688b4644b7.tar.gz
freebsd-ports-gnome-bc6e94455a5ac6fde53f10da1e04a3688b4644b7.tar.zst
freebsd-ports-gnome-bc6e94455a5ac6fde53f10da1e04a3688b4644b7.zip
- 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()
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