Subject: Re: packages requiring syssrc
To: Love <lha@stacken.kth.se>
From: Dr. Lex Wennmacher <wennmach@geo.Uni-Koeln.DE>
List: tech-pkg
Date: 08/01/2000 16:22:48
On Aug 1, 10:44am, David Brownlee wrote:
> Subject: packages requiring syssrc
> You could always check for BSDSRCDIR being defined?
On Aug 1, 1:35pm, Love wrote:
> You can always give the argument --with-sys=/kernel/source/here to arla's
> configure script. It default to /sys.
Does the following snippet from the arla pkg Makefile look o.k.?
Lex
-------------------------------------------------------------------------------
DISTNAME= arla-0.33
CATEGORIES= net security
MASTER_SITES= ftp://ftp.stacken.kth.se/pub/arla/
MAINTAINER= wennmach@netbsd.org
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)
.if exists(${BSDSRCDIR}/sys/lib/libkern/libkern.h)
CONFIGURE_ARGS+= --with-sys=${BSDSRCDIR}/sys
.else
IGNORE= "requires kernel sources available under
\$$BSDSRCDIR/sy
s (or /sys)"
.endif
.endif
CONFIGURE_ARGS+= --with-krb4=${PREFIX}
.if defined(ARLA_CACHE)
CONFIGURE_ARGS+= --with-arlacachedir=${ARLA_CACHE}
.endif
--------------------------------------------------------------------------------