aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssl
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-05-08 04:08:00 +0800
committerdinoex <dinoex@FreeBSD.org>2003-05-08 04:08:00 +0800
commit9b0a9bd33006f6acb5a1234d0c4c6e0fbc9ab1f0 (patch)
tree44fbc07ef064afd6ce6017917d662a343c382e90 /security/openssl
parentd53a3e842dc0cb2c02b2c48c36520dde3b8f9e31 (diff)
downloadfreebsd-ports-gnome-9b0a9bd33006f6acb5a1234d0c4c6e0fbc9ab1f0.tar.gz
freebsd-ports-gnome-9b0a9bd33006f6acb5a1234d0c4c6e0fbc9ab1f0.tar.zst
freebsd-ports-gnome-9b0a9bd33006f6acb5a1234d0c4c6e0fbc9ab1f0.zip
- Fixes problem when base has no openssl installed
Submitted by: marius@alchemy.franken.de
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/bsd.openssl.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/openssl/bsd.openssl.mk b/security/openssl/bsd.openssl.mk
index 8d5c9556c87e..795be7b87bf3 100644
--- a/security/openssl/bsd.openssl.mk
+++ b/security/openssl/bsd.openssl.mk
@@ -2,7 +2,7 @@
# Date created: 31 May 2002
# Whom: dinoex
#
-# $FreeBSD: /tmp/pcvs/ports/security/openssl/Attic/bsd.openssl.mk,v 1.4 2003-04-16 14:49:26 dinoex Exp $
+# $FreeBSD: /tmp/pcvs/ports/security/openssl/Attic/bsd.openssl.mk,v 1.5 2003-05-07 20:08:00 dinoex Exp $
#
# this substitutes USE_OPENSSL=yes
# just include this makefile after bsd.ports.pre.mk
@@ -40,7 +40,8 @@ WITH_OPENSSL_PORT=yes
.if !defined(WITH_OPENSSL_BASE) && \
!defined(WITH_OPENSSL_BETA) && \
!defined(WITH_OPENSSL_PORT) && \
- !exists(${LOCALBASE}/lib/libcrypto.so)
+ !exists(${LOCALBASE}/lib/libcrypto.so) && \
+ exists(/usr/include/openssl/opensslv.h)
# Security: version in base must be 0.9.7a
OPENSSLVER!= ${AWK} '/OPENSSL_VERSION_NUMBER/ { print $$3 }' \
/usr/include/openssl/opensslv.h