summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2000-08-01 09:31:00 +0000
committerwennmach <wennmach@pkgsrc.org>2000-08-01 09:31:00 +0000
commitc23f0f82802174ca07af222153f474d0c45e3782 (patch)
treeb12879eea1cbac2678b09949ff0040c586873fa0 /net
parent8926c8c0b2d4b0bee0a488bd4293ffd33c6c2dd1 (diff)
downloadpkgsrc-c23f0f82802174ca07af222153f474d0c45e3782.tar.gz
Added a conditional IGNORE if the kernel sources are not found under /sys.
The arla pkg builds an LKM, xfs_mod.o, and under NetBSD the full kernel sources are currently needed to build LKMs.
Diffstat (limited to 'net')
-rw-r--r--net/arla/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/arla/Makefile b/net/arla/Makefile
index 907f1884a01..6702c9333cf 100644
--- a/net/arla/Makefile
+++ b/net/arla/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/06/30 15:03:11 wennmach Exp $
+# $NetBSD: Makefile,v 1.4 2000/08/01 09:31:00 wennmach Exp $
#
DISTNAME= arla-0.33
@@ -10,6 +10,10 @@ HOMEPAGE= http://www.stacken.kth.se/project/arla/
DEPENDS+= kth-krb4-1.0.1:../../security/kth-krb4
+.if !exists(/sys/lib/libkern/libkern.h)
+IGNORE= "requires kernel sources available under /sys"
+.endif
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-krb4=${PREFIX}
.if defined(ARLA_CACHE)