Subject: Re: packages requiring syssrc
To: Dr. Lex Wennmacher <wennmach@geo.Uni-Koeln.DE>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 08/02/2000 17:52:24
	Looks OK to me.

                David/absolute
			       -- www.netbsd.org: A pmap for every occasion --


On Tue, 1 Aug 2000, Dr. Lex Wennmacher wrote:

> 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
> --------------------------------------------------------------------------------
>