This change was reverted in =dev-libs/glib-2.32* for unknown reason: 11 Jan 2012; Mike Frysinger <vapier@gentoo.org> glib-2.30.2.ebuild, glib-2.30.2-r1.ebuild: Assume pkgconfig exists in cross-compile setups since we need to execute `pkg-config` from ROOT=/ and not the cross-one from . http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/glib/glib-2.30.2.ebuild?r1=1.5&r2=1.6
The change was lost because *nobody on the gnome team knew about it*! Mike, if you make a change to a gnome herd's ebuild, please either tell us via email/bugzilla, or make the corresponding change to the development versions of the ebuild in the gnome overlay yourself. Because otherwise, when the ebuilds from the gnome overlay are copied into gx86, which happens twice a year when new versions of gnome are released, there is a good probability that any changes that you had silently made to the ebuild in gx86 will go unnoticed and will not be carried over to the new version. > 05 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org> glib-2.32.1.ebuild, > glib-2.32.2.ebuild: > Restore forgotten cross-compile fix from 2.30.x (bug #414761, thanks to > Samuli Suominen).