From 1f2f7c0e3e2551ef668f71d4e35af2a22d15d106 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Fri, 18 Mar 2022 10:29:38 +0100 Subject: dev-lang/smlnj: fix base/runtime/objs/makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/835552 Signed-off-by: Maciej Barć --- dev-lang/smlnj/smlnj-110.99.2.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dev-lang/smlnj') diff --git a/dev-lang/smlnj/smlnj-110.99.2.ebuild b/dev-lang/smlnj/smlnj-110.99.2.ebuild index d3715629848a..4ecbd1aa8d77 100644 --- a/dev-lang/smlnj/smlnj-110.99.2.ebuild +++ b/dev-lang/smlnj/smlnj-110.99.2.ebuild @@ -89,8 +89,13 @@ src_prepare() { -e "/^CPP/s|gcc|$(tc-getCC)|" \ -e "/^CFLAGS/{s|-O[0123s]|| ; s|=|= ${CFLAGS}|}" \ -i base/runtime/objs/mk.* || die + sed -e "/^AS/s|as|$(tc-getAS)|" \ + -e "/^AR/s|ar|$(tc-getAR)|" \ + -e "/^CC/s|cc|$(tc-getCC)|" \ + -e "/^CPP/s|/lib/cpp|$(tc-getCPP)|" \ + -e "/^RANLIB/s|ranlib|$(tc-getRANLIB)|" \ + -i base/runtime/objs/makefile || die - sed -i "/^AR/s|ar|$(tc-getAR)|" base/runtime/objs/makefile || die sed -i "s|nm |$(tc-getNM) |g" config/chk-global-names.sh || die } -- cgit v1.2.3-65-gdbad