Subject: Re: packages requiring syssrc
To: Love <>
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.?

DISTNAME=               arla-0.33
CATEGORIES=             net security


DEPENDS+=               kth-krb4-1.0.1:../../security/kth-krb4

GNU_CONFIGURE=          yes

.include "../../mk/"

.if !exists(/sys/lib/libkern/libkern.h)
.if exists(${BSDSRCDIR}/sys/lib/libkern/libkern.h)
CONFIGURE_ARGS+=        --with-sys=${BSDSRCDIR}/sys
IGNORE=                 "requires kernel sources available under
s (or /sys)"

CONFIGURE_ARGS+=        --with-krb4=${PREFIX}
.if defined(ARLA_CACHE)
CONFIGURE_ARGS+=        --with-arlacachedir=${ARLA_CACHE}