pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/mk/tools



On Tue, 30 Oct 2012 20:02:52 +0100
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> On Tue, Oct 30, 2012 at 06:48:33PM +0000, Matthias Drochner wrote:
> > Module Name:        pkgsrc
> > Committed By:       drochner
> > Date:               Tue Oct 30 18:48:33 UTC 2012
> >
> > Modified Files:
> >     pkgsrc/mk/tools: pkg-config.mk
> >
> > Log Message:
> > allow PKG_CONFIG_PATH to be set by the pkg, needed
> > for gobject-introspection users
>
> This sounds wrong. gobject-introspection should be hooked up into
> b3.mk if it needs files not normally included.

It could be done better, agreed. Ideally it should filter the path
and allow local directories within the building pkg, as done
for compiler/linker.
In practice it seems to be that PKG_CONFIG_LIBDIR tells the
global path, which is redirected to bl3 dirs. PKG_CONFIG_PATH
is only rarely set by pkgs. In the cases I've seen, the
introspection tool wants to extract metadata from the not
yet installed headers, and uses the not yet installed .pc
file to locate them.

best regards
Matthias


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Kennen Sie schon unsere app? http://www.fz-juelich.de/app



Home | Main Index | Thread Index | Old Index