tech-pkg archive

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

Re: pkg-config-0.26 depends on glib2



On Thu, Jul 14, 2011 at 03:21:49PM +0200, Thomas Klausner wrote:
> pkg-config-0.26 has removed its internal copy of glib1.
> Now it uses glib2.
> 
> This poses a chicken-and-egg problem, since glib2 needs pkg-config to
> build and thus the dependency tree has a circle.

glib2-HEAD uses pkgconfig to look for:
- zlib
- libffi
- pcre
- dbus-1 (optional, just used in GDBus test case)

So patching glib2 to not use pkgconfig might be an option?

I could write an AC_CHECK_LIB based alternative, or is this even
necessary given the likes of

  .include "../../devel/pcre/buildlink3.mk"
  .include "../../devel/zlib/buildlink3.mk"

in devel/glib2/Makefile? (presumably our glib2 doesn't need libffi yet)

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index