summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2021-06-16 15:50:43 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-16 16:09:07 -0400
commitd79e10b274201dad47a013ed29a1420877a37ba7 (patch)
tree8dd1724e1a18d012dc6ce0c7768a247684d09a7b /sys-process/criu/criu-3.15.ebuild
parentapp-misc/jpipe: Bump to version 0.1.3.3 (diff)
downloadgentoo-d79e10b274201dad47a013ed29a1420877a37ba7.tar.gz
gentoo-d79e10b274201dad47a013ed29a1420877a37ba7.tar.bz2
gentoo-d79e10b274201dad47a013ed29a1420877a37ba7.zip
sys-process/criu: fix $PKG_CONFIG usage
Needed to properly cross-compile. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sys-process/criu/criu-3.15.ebuild')
-rw-r--r--sys-process/criu/criu-3.15.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-process/criu/criu-3.15.ebuild b/sys-process/criu/criu-3.15.ebuild
index b9e42cf4fa5..065124a7e5d 100644
--- a/sys-process/criu/criu-3.15.ebuild
+++ b/sys-process/criu/criu-3.15.ebuild
@@ -45,6 +45,7 @@ PATCHES=(
"${FILESDIR}"/2.2/${PN}-2.2-flags.patch
"${FILESDIR}"/2.3/${PN}-2.3-no-git.patch
"${FILESDIR}"/${PN}-3.12-automagic-libbsd.patch
+ "${FILESDIR}"/${PN}-3.15-pkg-config.patch
)
criu_arch() {
@@ -93,6 +94,7 @@ src_compile() {
CC="$(tc-getCC)" \
LD="$(tc-getLD)" \
AR="$(tc-getAR)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
PYTHON="${EPYTHON%.?}" \
FULL_PYTHON="${PYTHON%.?}" \
OBJCOPY="$(tc-getOBJCOPY)" \