summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2020-06-16 23:06:19 +0900
committerAkinori Hattori <hattya@gentoo.org>2020-06-16 23:11:41 +0900
commit3991aa6548b324657a2004e4876b7939df56e584 (patch)
treeb82815eb19aa64e52bd615db35da4208f78f7c09 /dev-libs
parentdev-libs/libmoe: fix sed (diff)
downloadgentoo-3991aa6548b324657a2004e4876b7939df56e584.tar.gz
gentoo-3991aa6548b324657a2004e4876b7939df56e584.tar.bz2
gentoo-3991aa6548b324657a2004e4876b7939df56e584.zip
dev-libs/libmoe: use tc-getRANLIB
Closes: https://bugs.gentoo.org/723024 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libmoe/libmoe-1.5.8-r3.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-libs/libmoe/libmoe-1.5.8-r3.ebuild b/dev-libs/libmoe/libmoe-1.5.8-r3.ebuild
index b9af0de03820..7785e51ce241 100644
--- a/dev-libs/libmoe/libmoe-1.5.8-r3.ebuild
+++ b/dev-libs/libmoe/libmoe-1.5.8-r3.ebuild
@@ -30,7 +30,9 @@ src_prepare() {
-e "/^PREFIX=/s|=.*|=${EPREFIX}/usr|" \
-e "/^LIBSODIR=/s|=.*|=\${PREFIX}/$(get_libdir)|" \
-e "/^MANDIR=/s|=.*|=\${PREFIX}/share/man|" \
- -e "s|=gcc|=$(tc-getCC)|" \
- -e "/^AR=/s|=ar|=$(tc-getAR)|" \
+ -e "/^\(CC\|LD\)=/s|=.*|=$(tc-getCC)|" \
+ -e "/^CPP=/s|=.*|=$(tc-getCPP)|" \
+ -e "/^RANLIB=/s|=.*|=$(tc-getRANLIB)|" \
+ -e "/^AR=/s|=.*|=$(tc-getAR)|" \
Makefile || die
}