Subject: Re: buildlink3 error with glib2 dependency
To: Roland Illig <>
From: Johnny C. Lam <>
List: tech-pkg
Date: 12/04/2004 19:45:54
On Sat, Dec 04, 2004 at 04:12:45PM +0100, Roland Illig wrote:
>     (logic) pop:  -I/home/roland/pkg/include
>     (logic) to: 
> -I/tmp/pkgsrc/rillig/mc/work.netbsd162/.buildlink/include [cached]
>     (logic) push: -I/tmp/pkgsrc/rillig/mc/work.netbsd162/.buildlink/include
>     (logic) pop:  -I/usr/X11R6/include
>     (logic) to:    [cached]
>     (logic) push:
>     (logic) pop:  -I/usr/pkg/include/glib/glib-2.0
>     (logic) to:    [cached]
>     (logic) push:
> I would have expected that ${buildlink_include}/glib/glib-2.0 be added 
> to the include path.

From the above, it looks like you've set LOCALBASE to "/home/roland/pkg",
which is tranformed into "${BUILDLINK_DIR}" by the wrapper script.
Everything outside of ${LOCALBASE} is being (correctly) removed.


	-- Johnny Lam <>