Gentoo Archives: gentoo-portage-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Mike Gilbert <floppym@g.o>
Subject: [gentoo-portage-dev] [PATCH] phase-functions.sh: do not set PKG_CONFIG_PATH
Date: Sun, 03 May 2020 21:31:42
Message-Id: 20200503213130.4000636-1-floppym@gentoo.org
1 Recent pkg-config should have the correct path built in by default.
2
3 Bug: https://bugs.gentoo.org/720866
4 Signed-off-by: Mike Gilbert <floppym@g.o>
5 ---
6 bin/phase-functions.sh | 4 ----
7 1 file changed, 4 deletions(-)
8
9 diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh
10 index 709fd7527..90e622e75 100644
11 --- a/bin/phase-functions.sh
12 +++ b/bin/phase-functions.sh
13 @@ -1019,10 +1019,6 @@ __ebuild_main() {
14 [[ ${SANDBOX_WRITE/$DISTCC_DIR} = $SANDBOX_WRITE ]] && \
15 addwrite "$DISTCC_DIR"
16
17 - x=LIBDIR_$ABI
18 - [ -z "$PKG_CONFIG_PATH" -a -n "$ABI" -a -n "${!x}" ] && \
19 - export PKG_CONFIG_PATH=${EPREFIX}/usr/${!x}/pkgconfig
20 -
21 if has noauto $FEATURES && \
22 [[ ! -f $PORTAGE_BUILDDIR/.unpacked ]] ; then
23 echo
24 --
25 2.26.2

Replies