From 2cc6541890f8a67e1febe170723a5d4ed2a39f5f Mon Sep 17 00:00:00 2001 From: itojun Date: Wed, 5 Jul 2000 17:07:43 +0000 Subject: [PATCH] check for /usr/include/openssl/rsa.h, and if it is found, do not depend upon openssl. From: Bernd.Ernesti@security.kpnqwest.com (Bernd Ernesti) --- security/racoon/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/racoon/Makefile b/security/racoon/Makefile index a9d2a05b57df..947d84310dfa 100644 --- a/security/racoon/Makefile +++ b/security/racoon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2000/07/01 01:11:28 itojun Exp $ +# $NetBSD: Makefile,v 1.12 2000/07/05 17:07:43 itojun Exp $ # DISTNAME= racoon-20000701a @@ -22,7 +22,7 @@ BUILD_DEFS+= USE_INET6 # if PATENTEDOPENSSLSRC is defined, then we assume that # RSA already exists in the OpenSSL built as part of the # base distribution. -.if !defined(PATENTEDOPENSSLSRC) +.if !defined(PATENTEDOPENSSLSRC) && !exists(/usr/include/openssl/rsa.h) DEPENDS+= openssl-0.9.*:../../security/openssl CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include CFLAGS=-I${LOCALBASE}/include \ LIBS="-L${LOCALBASE}/lib -L${WRKSRC}/../libipsec"