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