From 68034f61f3da0aff4fca4b764620abd2c87c16c6 Mon Sep 17 00:00:00 2001 From: Ruud Koolen Date: Fri, 20 Sep 2013 05:39:31 -0700 Subject: [PATCH] ebuild_main: prefix PKG_CONFIG_PATH, bug #485456 --- bin/phase-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2