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/bytestructures | |
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/bytestructures')
-rw-r--r-- | dev-scheme/bytestructures/bytestructures-1.0.10.ebuild | 12 | ||||
-rw-r--r-- | dev-scheme/bytestructures/bytestructures-2.0.1.ebuild | 11 |
2 files changed, 18 insertions, 5 deletions
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" +} |