diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-05-07 20:08:00 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-05-07 20:08:00 +0000 |
commit | 1afeeb4c02ecf67612dd3b580768b0a5aa1a25c9 (patch) | |
tree | ba4f63ee7deae8e98b13e041e884a922f2f65b4a /Mk/bsd.openssl.mk | |
parent | - Update to gssapi-20030430 (diff) |
- Fixes problem when base has no openssl installed
Submitted by: marius@alchemy.franken.de
Notes
Notes:
svn path=/head/; revision=80394
Diffstat (limited to 'Mk/bsd.openssl.mk')
-rw-r--r-- | Mk/bsd.openssl.mk | 5 |
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 |