summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2020-07-06 10:23:34 -0700
committerSergei Trofimovich <slyfox@gentoo.org>2020-07-06 19:43:36 +0100
commitcf65969f237ff675b1ce401b6f19d3ad5c507483 (patch)
tree4a282fa570c695af0db6d6d7e288d037d20728ec /sys-apps/dtc
parentapp-emulation/qemu: remove unused patches (diff)
downloadgentoo-cf65969f237ff675b1ce401b6f19d3ad5c507483.tar.gz
gentoo-cf65969f237ff675b1ce401b6f19d3ad5c507483.tar.bz2
gentoo-cf65969f237ff675b1ce401b6f19d3ad5c507483.zip
sys-appds/dtc: export PKG_CONFIG
The Makefile hard-codes 'pkg-config' but allows overrides. We should export our selection, to help with cross-compiling, for example. Signed-off-by: Brian Norris <briannorris@chromium.org> Closes: https://github.com/gentoo/gentoo/pull/16611 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-apps/dtc')
-rw-r--r--sys-apps/dtc/dtc-1.5.0.ebuild2
-rw-r--r--sys-apps/dtc/dtc-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/dtc/dtc-1.5.0.ebuild b/sys-apps/dtc/dtc-1.5.0.ebuild
index 7abe2f748886..345ec02b3e7b 100644
--- a/sys-apps/dtc/dtc-1.5.0.ebuild
+++ b/sys-apps/dtc/dtc-1.5.0.ebuild
@@ -47,7 +47,7 @@ src_prepare() {
-e "/^LIBDIR =/s:=.*:= \$(PREFIX)/$(get_libdir):" \
Makefile || die
- tc-export AR CC
+ tc-export AR CC PKG_CONFIG
export V=1
}
diff --git a/sys-apps/dtc/dtc-9999.ebuild b/sys-apps/dtc/dtc-9999.ebuild
index d60b43b0b331..4d086b5e4a3d 100644
--- a/sys-apps/dtc/dtc-9999.ebuild
+++ b/sys-apps/dtc/dtc-9999.ebuild
@@ -45,7 +45,7 @@ src_prepare() {
-e "/^LIBDIR =/s:=.*:= \$(PREFIX)/$(get_libdir):" \
Makefile || die
- tc-export AR CC
+ tc-export AR CC PKG_CONFIG
export V=1
}