From: Ruud Koolen <redlizard@redlizard.nl> Date: Fri, 20 Sep 2013 12:39:31 +0000 (-0700) Subject: ebuild_main: prefix PKG_CONFIG_PATH, bug #485456 X-Git-Tag: v2.2.7~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=68034f61f3da0aff4fca4b764620abd2c87c16c6;p=portage.git ebuild_main: prefix PKG_CONFIG_PATH, bug #485456 --- diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh index 37503bf8b..711b72116 100644 --- a/bin/phase-functions.sh +++ b/bin/phase-functions.sh @@ -917,7 +917,7 @@ __ebuild_main() { x=LIBDIR_$ABI [ -z "$PKG_CONFIG_PATH" -a -n "$ABI" -a -n "${!x}" ] && \ - export PKG_CONFIG_PATH=/usr/${!x}/pkgconfig + export PKG_CONFIG_PATH=${EPREFIX}/usr/${!x}/pkgconfig if has noauto $FEATURES && \ [[ ! -f $PORTAGE_BUILDDIR/.unpacked ]] ; then