From 7e3b8ea2dbbeffdb67ab6b029d2d7349e059d4e4 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Tue, 16 May 2023 13:34:53 +0200 Subject: dev-scheme: use dostrip instead of RESTRICT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/905898 Signed-off-by: Maciej Barć --- dev-scheme/bytestructures/bytestructures-1.0.10.ebuild | 12 +++++++++--- dev-scheme/bytestructures/bytestructures-2.0.1.ebuild | 11 +++++++++-- 2 files changed, 18 insertions(+), 5 deletions(-) (limited to 'dev-scheme/bytestructures') diff --git a/dev-scheme/bytestructures/bytestructures-1.0.10.ebuild b/dev-scheme/bytestructures/bytestructures-1.0.10.ebuild index 4842f26f1ed7..d1268f0666cd 100644 --- a/dev-scheme/bytestructures/bytestructures-1.0.10.ebuild +++ b/dev-scheme/bytestructures/bytestructures-1.0.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,8 +10,6 @@ SRC_URI="https://github.com/TaylanUB/scheme-bytestructures/releases/download/v${ LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="strip" RDEPEND=">=dev-scheme/guile-2.0.0:=" DEPEND="${RDEPEND}" @@ -34,3 +32,11 @@ src_prepare() { # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 find "${S}" -name "*.scm" -exec touch {} + || die } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} diff --git a/dev-scheme/bytestructures/bytestructures-2.0.1.ebuild b/dev-scheme/bytestructures/bytestructures-2.0.1.ebuild index 165c1a44eda8..3412c6595c4b 100644 --- a/dev-scheme/bytestructures/bytestructures-2.0.1.ebuild +++ b/dev-scheme/bytestructures/bytestructures-2.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,6 @@ S="${WORKDIR}/scheme-${PN}-${PV}" LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="strip" RDEPEND=">=dev-scheme/guile-2.0.0:=" DEPEND="${RDEPEND}" @@ -29,3 +28,11 @@ src_prepare() { # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 find "${S}" -name "*.scm" -exec touch {} + || die } + +src_install() { + default + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} -- cgit v1.2.3-65-gdbad