The ebuild contains the following line to define the PKG_CONFIG_PATH variable on prefix: if use prefix; then # Add an explicit reference to $EPREFIX to PKG_CONFIG_PATH to # simplify cross-prefix builds echo "PKG_CONFIG_PATH=${EPREFIX}/usr/$(libdir)/pkgconfig:${EPREFIX}/usr/share/pkgconfig" >> "${T}"/99${PN} doenvd "${T}"/99${PN} fi It relies on the multilib eclass. Unfortunately usr/$(libdir) is incorrect, it should be usr/$(get_libdir). libdir is not defined anywhere and is not defined in the multilib eclass.
--- ./ChangeLog +++ ./ChangeLog @@ -4,0 +5,3 @@ + 30 Oct 2011; Jonathan Callen <abcd@gentoo.org> pkgconfig-0.26.ebuild: + -m Fix typo ($(libdir) -> $(get_libdir)) (bug 388925) +
My friend Steve Trogdon filled a bug for this independently: #388809 One should be marked duplicate of the other.
*** Bug 388809 has been marked as a duplicate of this bug. ***