diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-05-16 13:34:53 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-05-16 13:50:43 +0200 |
commit | 7e3b8ea2dbbeffdb67ab6b029d2d7349e059d4e4 (patch) | |
tree | f7f73c6d4e6e43b2aeeb448d713ce6590df57db2 /dev-scheme/guile-lib | |
parent | virtual/dist-kernel: Remove old (diff) | |
download | gentoo-7e3b8ea2dbbeffdb67ab6b029d2d7349e059d4e4.tar.gz gentoo-7e3b8ea2dbbeffdb67ab6b029d2d7349e059d4e4.tar.bz2 gentoo-7e3b8ea2dbbeffdb67ab6b029d2d7349e059d4e4.zip |
dev-scheme: use dostrip instead of RESTRICT
Bug: https://bugs.gentoo.org/905898
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme/guile-lib')
-rw-r--r-- | dev-scheme/guile-lib/guile-lib-0.2.7.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-scheme/guile-lib/guile-lib-0.2.7.ebuild b/dev-scheme/guile-lib/guile-lib-0.2.7.ebuild index a9f95bc2e4dc..34d71d6ed5b9 100644 --- a/dev-scheme/guile-lib/guile-lib-0.2.7.ebuild +++ b/dev-scheme/guile-lib/guile-lib-0.2.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,6 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=">=dev-scheme/guile-2.0.0:=" DEPEND="${RDEPEND}" @@ -29,3 +28,11 @@ src_prepare() { src_configure() { econf --with-guile-site=yes } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} |