diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2020-09-12 17:37:28 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2020-09-12 18:57:34 +0200 |
commit | adcae1c8aa0f3af454895cff8c8eda59f48dd5da (patch) | |
tree | a5a804c6883275771900aa028cd11c9531f39fc5 /sys-apps/heirloom-tools | |
parent | dev-python/hypothesis: Stabilize 5.24.4 ALLARCHES, #741730 (diff) | |
download | gentoo-adcae1c8aa0f3af454895cff8c8eda59f48dd5da.tar.gz gentoo-adcae1c8aa0f3af454895cff8c8eda59f48dd5da.tar.bz2 gentoo-adcae1c8aa0f3af454895cff8c8eda59f48dd5da.zip |
sys-apps/heirloom-tools: respect AR/RANLIB
Closes: https://bugs.gentoo.org/725712
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'sys-apps/heirloom-tools')
-rw-r--r-- | sys-apps/heirloom-tools/heirloom-tools-070715-r3.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-apps/heirloom-tools/heirloom-tools-070715-r3.ebuild b/sys-apps/heirloom-tools/heirloom-tools-070715-r3.ebuild index 2c6c2ef18761..1374a47e8583 100644 --- a/sys-apps/heirloom-tools/heirloom-tools-070715-r3.ebuild +++ b/sys-apps/heirloom-tools/heirloom-tools-070715-r3.ebuild @@ -34,10 +34,18 @@ PATCHES=( # slightly broken RESTRICT="test" +src_prepare() { + default + + sed -i "s/\bar\b/$(tc-getAR)/g" libwchar/Makefile.mk || die +} + src_compile() { append-cppflags -D_GNU_SOURCE emake -j1 \ CC="$(tc-getCC)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ CFLAGS="${CFLAGS}" \ CFLAGS2="${CFLAGS}" \ CFLAGSS="${CFLAGS}" \ |