summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <itojun>2000-04-12 15:09:49 +0000
committeritojun <itojun>2000-04-12 15:09:49 +0000
commitfdde96be43e2cd3773816999d9522c5ccbe9f57f (patch)
treeef818181a0f20fd0a394a3c4f481ec1aff8fafbd
parenta738365a2f9ca595f94cae759004e42cad35b223 (diff)
downloadpkgsrc-fdde96be43e2cd3773816999d9522c5ccbe9f57f.tar.gz
check if the system is IPsec ready NetBSD system.
-rw-r--r--security/isakmpd/Makefile7
-rw-r--r--security/racoon/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile
index e9fe52f3db3..74f0e415074 100644
--- a/security/isakmpd/Makefile
+++ b/security/isakmpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2000/03/27 16:04:13 itojun Exp $
+# $NetBSD: Makefile,v 1.2 2000/04/12 15:09:50 itojun Exp $
#
DISTNAME= isakmpd-000220
@@ -12,6 +12,11 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= itojun@kame.net
+# this is not compatible with cross build - there's no other way
+.if !exists(/usr/include/netinet6/ipsec.h)
+IGNORE+= "requires ipsec-ready NetBSD"
+.endif
+
DEPENDS+= openssl-0.9.4:../../security/openssl
DEPENDS+= gmp-*:../../devel/gmp
diff --git a/security/racoon/Makefile b/security/racoon/Makefile
index bbf8f6a079a..cdf6738fa26 100644
--- a/security/racoon/Makefile
+++ b/security/racoon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/04/04 03:12:11 itojun Exp $
+# $NetBSD: Makefile,v 1.4 2000/04/12 15:09:49 itojun Exp $
#
DISTNAME= racoon-0.0
@@ -7,6 +7,11 @@ CATEGORIES= security net
MAINTAINER= itojun@kame.net
HOMEPAGE= http:/www.kame.net/
+# this is not compatible with cross build - there's no other way
+.if !exists(/usr/include/netinet6/ipsec.h)
+IGNORE+= "requires ipsec-ready NetBSD"
+.endif
+
# openssl is necessary for RSA libraries
DEPENDS+= openssl-0.9.4:../../security/openssl
BUILD_DEPENDS+= cvs:../../devel/cvs