summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFergus Dall <sidereal@google.com>2022-03-27 05:39:49 +0100
committerSam James <sam@gentoo.org>2022-03-27 05:40:35 +0100
commit680f3d2158258adb747c6acc01d20a58530eb601 (patch)
treef0052dd6afbc92b9556cafb353c2cb850dd98412 /sys-libs/libsemanage/libsemanage-9999.ebuild
parentRevert "sys-libs/libsemanage: Use tc-getPKG_CONFIG where appropriate" (diff)
downloadgentoo-680f3d2158258adb747c6acc01d20a58530eb601.tar.gz
gentoo-680f3d2158258adb747c6acc01d20a58530eb601.tar.bz2
gentoo-680f3d2158258adb747c6acc01d20a58530eb601.zip
sys-libs/libsemanage: Use tc-getPKG_CONFIG where appropriate
Closes: https://bugs.gentoo.org/744487 Signed-off-by: Fergus Dall <sidereal@google.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/libsemanage/libsemanage-9999.ebuild')
-rw-r--r--sys-libs/libsemanage/libsemanage-9999.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-libs/libsemanage/libsemanage-9999.ebuild b/sys-libs/libsemanage/libsemanage-9999.ebuild
index fa2bb4e34007..85bbb04e90aa 100644
--- a/sys-libs/libsemanage/libsemanage-9999.ebuild
+++ b/sys-libs/libsemanage/libsemanage-9999.ebuild
@@ -84,6 +84,7 @@ multilib_src_compile() {
emake \
AR="$(tc-getAR)" \
CC="$(tc-getCC)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
"$@"
}
@@ -101,6 +102,7 @@ multilib_src_install() {
installation_py() {
emake DESTDIR="${ED}" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
install-pywrap
python_optimize # bug 531638
}