diff options
author | Maciej Barć <xgqt@gentoo.org> | 2021-12-02 22:39:38 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2021-12-02 22:43:25 +0100 |
commit | d79265d95303713f475cf5f2a1fcb93331de9364 (patch) | |
tree | 765ab000a3bda1601903b513e68f6dd891a9de4c /dev-lang/smlnj | |
parent | dev-python/libarchive-c: drop unnecessary := (diff) | |
download | gentoo-d79265d95303713f475cf5f2a1fcb93331de9364.tar.gz gentoo-d79265d95303713f475cf5f2a1fcb93331de9364.tar.bz2 gentoo-d79265d95303713f475cf5f2a1fcb93331de9364.zip |
dev-lang/smlnj: move unpack script to src_unpack; fix nm
Closes: https://bugs.gentoo.org/729884
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/smlnj')
-rw-r--r-- | dev-lang/smlnj/smlnj-110.99.2.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-lang/smlnj/smlnj-110.99.2.ebuild b/dev-lang/smlnj/smlnj-110.99.2.ebuild index a327249fde59..98c8b3ecdf06 100644 --- a/dev-lang/smlnj/smlnj-110.99.2.ebuild +++ b/dev-lang/smlnj/smlnj-110.99.2.ebuild @@ -75,12 +75,12 @@ src_unpack() { unpack ${P}-config.tgz rm config/*.bat || die echo SRCARCHIVEURL=\"file:/${S}\" > "${S}"/config/srcarchiveurl -} -src_prepare() { mkdir base || die # without this unpacking runtime will fail ./config/unpack "${S}" runtime || die +} +src_prepare() { default # respect CC et al. (bug 243886) @@ -89,6 +89,8 @@ src_prepare() { -e "/^CPP/s:gcc:$(tc-getCC):" \ -e "/^CFLAGS/{s:-O[0123s]:: ; s:=:= ${CFLAGS}:}" \ -i base/runtime/objs/mk.* || die + + sed -i "s|nm |$(tc-getNM) |g" config/chk-global-names.sh || die } src_compile() { |