commit: e2df750e074a54f85aa4f2c109fe8ceea2b9359a Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Sun May 3 21:28:44 2020 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sun May 3 21:38:13 2020 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=e2df750e
phase-functions.sh: do not set PKG_CONFIG_PATH Recent pkg-config should have the correct path built in by default. Bug: https://bugs.gentoo.org/720866 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> Reviewed-by: Zac Medico <zmedico <AT> gentoo.org> bin/phase-functions.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh index 709fd7527..90e622e75 100644 --- a/bin/phase-functions.sh +++ b/bin/phase-functions.sh @@ -1019,10 +1019,6 @@ __ebuild_main() { [[ ${SANDBOX_WRITE/$DISTCC_DIR} = $SANDBOX_WRITE ]] && \ addwrite "$DISTCC_DIR" - x=LIBDIR_$ABI - [ -z "$PKG_CONFIG_PATH" -a -n "$ABI" -a -n "${!x}" ] && \ - export PKG_CONFIG_PATH=${EPREFIX}/usr/${!x}/pkgconfig - if has noauto $FEATURES && \ [[ ! -f $PORTAGE_BUILDDIR/.unpacked ]] ; then echo