summaryrefslogtreecommitdiff
path: root/security/racoon/Makefile
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-07-05 17:07:43 +0000
committeritojun <itojun@pkgsrc.org>2000-07-05 17:07:43 +0000
commit2cc6541890f8a67e1febe170723a5d4ed2a39f5f (patch)
treebf2d3ba79dc4d2e62bd1562ccd86287ebf1df8b8 /security/racoon/Makefile
parentea090e2367db171c0349240400462fe3fe6449f9 (diff)
downloadpkgsrc-2cc6541890f8a67e1febe170723a5d4ed2a39f5f.tar.gz
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)
Diffstat (limited to 'security/racoon/Makefile')
-rw-r--r--security/racoon/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/racoon/Makefile b/security/racoon/Makefile
index a9d2a05b57d..947d84310df 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"