summaryrefslogtreecommitdiff
path: root/net/arla
diff options
context:
space:
mode:
authorwennmach <wennmach>2000-08-02 13:08:32 +0000
committerwennmach <wennmach>2000-08-02 13:08:32 +0000
commitbb4934d8b67c434a58ba99610672a4979f90f3e1 (patch)
tree3e475558eafed1eeefa7e61c7ccc181c8c3f3142 /net/arla
parent9b53c0c53cba7a0182e2cb73e0b7f414d51c019a (diff)
downloadpkgsrc-bb4934d8b67c434a58ba99610672a4979f90f3e1.tar.gz
Also check if the kernel sources can be found under $BSDSRCDIR/sys
Diffstat (limited to 'net/arla')
-rw-r--r--net/arla/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/net/arla/Makefile b/net/arla/Makefile
index 6702c9333cf..28cbee12122 100644
--- a/net/arla/Makefile
+++ b/net/arla/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/08/01 09:31:00 wennmach Exp $
+# $NetBSD: Makefile,v 1.5 2000/08/02 13:08:32 wennmach Exp $
#
DISTNAME= arla-0.33
@@ -10,11 +10,18 @@ HOMEPAGE= http://www.stacken.kth.se/project/arla/
DEPENDS+= kth-krb4-1.0.1:../../security/kth-krb4
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.prefs.mk"
+
.if !exists(/sys/lib/libkern/libkern.h)
-IGNORE= "requires kernel sources available under /sys"
-.endif
+.if exists(${BSDSRCDIR}/sys/lib/libkern/libkern.h)
+CONFIGURE_ARGS+= --with-sys=${BSDSRCDIR}/sys
+.else
+IGNORE= "requires kernel sources available under \$$BSDSRCDIR/sys (or /sys)"
+.endif
+.endif
-GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-krb4=${PREFIX}
.if defined(ARLA_CACHE)
CONFIGURE_ARGS+= --with-arlacachedir=${ARLA_CACHE}
@@ -23,8 +30,6 @@ CONFIGURE_ARGS+= --with-arlacachedir=${ARLA_CACHE}
PLIST_SRC= ${WRKDIR}/PLIST
MESSAGE_FILE= ${WRKDIR}/MESSAGE
-.include "../../mk/bsd.prefs.mk"
-
.if defined(ARLA_CACHE)
CACHEDIR= ${ARLA_CACHE}
.else