summaryrefslogtreecommitdiff
path: root/net/arla
diff options
context:
space:
mode:
authorwennmach <wennmach>2000-08-01 09:31:00 +0000
committerwennmach <wennmach>2000-08-01 09:31:00 +0000
commitc4087b98055d689ac9b357fa2341c9d0d24b8513 (patch)
treeb12879eea1cbac2678b09949ff0040c586873fa0 /net/arla
parent90f4eb0477b3b079287e33e51a645c4abaf67242 (diff)
downloadpkgsrc-c4087b98055d689ac9b357fa2341c9d0d24b8513.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/arla')
-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)