Subject: buildlink3 error with glib2 dependency
To: None <tech-pkg@netbsd.org>
From: Roland Illig <roland.illig@gmx.de>
List: tech-pkg
Date: 12/04/2004 16:12:45
Hi,

I'm trying to update wip/mc, and I'm having problems with the buildlink3 
wrapper. Here is an excerpt from ${WRKDIR}/.work.log:

     (arg-source) push: -DHAVE_CONFIG_H
     (arg-source) push: -I.
     (arg-source) push: -I.
     (arg-source) push: -I..
     (arg-source) push: -I/home/roland/pkg/include
     (arg-source) push: -I/usr/X11R6/include
     (arg-source) push: -I/usr/pkg/include/glib/glib-2.0
     (arg-source) push: -I/usr/pkg/lib/glib-2.0/include
...
     (logic) pop:  -DHAVE_CONFIG_H
     (logic) to:   -DHAVE_CONFIG_H [cached]
     (logic) push: -DHAVE_CONFIG_H
     (logic) pop:  -I.
     (logic) to:   -I. [cached]
     (logic) push: -I.
     (logic) pop:  -I.
     (logic) to:   -I. [cached]
     (logic) push: -I.
     (logic) pop:  -I..
     (logic) to:   -I.. [cached]
     (logic) push: -I..
     (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.

Roland