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
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')
-rw-r--r--sys-libs/libsemanage/libsemanage-3.3.ebuild4
-rw-r--r--sys-libs/libsemanage/libsemanage-9999.ebuild2
2 files changed, 5 insertions, 1 deletions
diff --git a/sys-libs/libsemanage/libsemanage-3.3.ebuild b/sys-libs/libsemanage/libsemanage-3.3.ebuild
index cea18c8179bf..6a52cf9a36b2 100644
--- a/sys-libs/libsemanage/libsemanage-3.3.ebuild
+++ b/sys-libs/libsemanage/libsemanage-3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -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
}
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
}