summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <itojun>2000-07-05 17:07:43 +0000
committeritojun <itojun>2000-07-05 17:07:43 +0000
commitfe00066c5c2995b7e0d54cfcf808ae33599851db (patch)
treebf2d3ba79dc4d2e62bd1562ccd86287ebf1df8b8
parent3455da67039bb28797abae622f133c9cac251c3d (diff)
downloadpkgsrc-fe00066c5c2995b7e0d54cfcf808ae33599851db.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)
-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"