Subject: Re: Add libprop include path to libkern/Makefile.inc (was: CVS commit:
To: None <netbsd@lists.veego.de>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: source-changes
Date: 07/26/2006 09:01:17
netbsd@lists.veego.de wrote:

> On Sat, Jul 22, 2006 at 02:11:35PM +0000, Izumi Tsutsui wrote:
> > 
> > Module Name:	src
> > Committed By:	tsutsui
> > Date:		Sat Jul 22 14:11:35 UTC 2006
> > 
> > Modified Files:
> > 	src/sys/arch/arc/stand/boot: Makefile
> > 
> > Log Message:
> > Add "-I${S}/../common/include" to CPPFLAGS for libprop sources in libkern.
> > 
> > XXX: shouldn't this be handled by sys/lib/libkern/Makefile.inc?
> 
> I would say so and opened a pr a few months ago: port-i386/33431, but
> Havard Eidnes said the couldn't reproduce this problem.

You could see the reason in lib/kern/prop_array.d etc.
It referes header files under ${DESTDIR}/usr/include/prop
rather than src/common/include/prop in build.sh case, and
the problem could be reproduced if you try nbmake-{$MACHINE}
under sys/arch/{$MACHINE}/stand without ${DESTDIR}.
---
Izumi Tsutsui