aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-02-28 02:09:09 +0800
committerdinoex <dinoex@FreeBSD.org>2003-02-28 02:09:09 +0800
commit04b9864749c06389e854b6ebd1f9caa19946047b (patch)
treeeb1388d2dc61db34e7f05e118a2085f10b7a435c /security
parent2ad582e65ff47b7ae0f1fc11ebbacf75b1efce69 (diff)
downloadfreebsd-ports-gnome-04b9864749c06389e854b6ebd1f9caa19946047b.tar.gz
freebsd-ports-gnome-04b9864749c06389e854b6ebd1f9caa19946047b.tar.zst
freebsd-ports-gnome-04b9864749c06389e854b6ebd1f9caa19946047b.zip
- check if we have 0.9.7a
Diffstat (limited to 'security')
-rw-r--r--security/openssl/Makefile.ssl9
1 files changed, 6 insertions, 3 deletions
diff --git a/security/openssl/Makefile.ssl b/security/openssl/Makefile.ssl
index f135538c89d9..320a472fa25c 100644
--- a/security/openssl/Makefile.ssl
+++ b/security/openssl/Makefile.ssl
@@ -28,10 +28,13 @@
!defined(USE_OPENSSL_BETA) && \
!defined(USE_OPENSSL_PORT) && \
!exists(${LOCALBASE}/lib/libcrypto.so)
-# 4.7-STABLE has not yet 0.9.7a
-# 5.0-CURRENT has not yet 0.9.7a
+# Security: version in base must be 0.9.7a
.if exists(/usr/lib/libcrypto.so.3)
-#USE_OPENSSL_BASE=yes
+OPENSSLVER!= ${AWK} '/OPENSSL_VERSION_NUMBER/ { print $$3 }' \
+ /usr/include/openssl/opensslv.h
+.if ${OPENSSLVER} == 0x0090701fL
+USE_OPENSSL_BASE=yes
+.endif
.endif
.endif