Recent pkg-config should have the correct path built in by default.

Bug: https://bugs.gentoo.org/720866
Signed-off-by: Mike Gilbert <flop...@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
-- 
2.26.2


Reply via email to