aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
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 /Mk
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 'Mk')
-rw-r--r--Mk/bsd.openssl.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.openssl.mk b/Mk/bsd.openssl.mk
index 6fc881d01785..0d8d2df2e400 100644
--- a/Mk/bsd.openssl.mk
+++ b/Mk/bsd.openssl.mk
@@ -2,7 +2,7 @@
# Date created: 31 May 2002
# Whom: dinoex
#
-# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.4 2003-04-16 14:49:26 dinoex Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/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