summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-05-16 13:34:53 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-05-16 13:50:43 +0200
commit7e3b8ea2dbbeffdb67ab6b029d2d7349e059d4e4 (patch)
treef7f73c6d4e6e43b2aeeb448d713ce6590df57db2 /dev-scheme/guile-json
parentvirtual/dist-kernel: Remove old (diff)
downloadgentoo-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-json')
-rw-r--r--dev-scheme/guile-json/guile-json-4.7.3.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-scheme/guile-json/guile-json-4.7.3.ebuild b/dev-scheme/guile-json/guile-json-4.7.3.ebuild
index d2e78a2618c3..88908a185dea 100644
--- a/dev-scheme/guile-json/guile-json-4.7.3.ebuild
+++ b/dev-scheme/guile-json/guile-json-4.7.3.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
@@ -10,7 +10,6 @@ SRC_URI="http://download.savannah.nongnu.org/releases/guile-json/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RESTRICT="strip"
RDEPEND=">=dev-scheme/guile-2.0.0:="
DEPEND="${RDEPEND}"
@@ -25,3 +24,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"
+}