Subject: Re: packages requiring syssrc
To: None <tech-pkg@netbsd.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: tech-pkg
Date: 08/01/2000 07:32:01
"Dr. Lex Wennmacher" <wennmach@geo.Uni-Koeln.DE> writes:
> > Subject: packages requiring syssrc
> > You could always check for BSDSRCDIR being defined?
>
> Both BSDSRCDIR and /sys should be pointers to the system sources. Since arla
> includes kernel headers with "-I/sys -I/sys/arch" it's IMHO better to directly
> test for /sys. If the kernel sources are not found under /sys, knowing that
> they might be in BSDSRCDIR is not of much help -- unless arla itself is
> revamped to grok BSDSRCDIR.
This is basically what the aperture package does. See
sysutils/aperture/Makefile for details.
-- Johnny C. Lam <lamj@stat.cmu.edu>
Department of Statistics, Carnegie Mellon University
http://www.stat.cmu.edu/~lamj/