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-gcrypt
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-gcrypt')
-rw-r--r--dev-scheme/guile-gcrypt/guile-gcrypt-0.3.0.ebuild12
-rw-r--r--dev-scheme/guile-gcrypt/guile-gcrypt-0.4.0.ebuild12
2 files changed, 18 insertions, 6 deletions
diff --git a/dev-scheme/guile-gcrypt/guile-gcrypt-0.3.0.ebuild b/dev-scheme/guile-gcrypt/guile-gcrypt-0.3.0.ebuild
index d0b486243328..925cd6308503 100644
--- a/dev-scheme/guile-gcrypt/guile-gcrypt-0.3.0.ebuild
+++ b/dev-scheme/guile-gcrypt/guile-gcrypt-0.3.0.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
@@ -13,8 +13,6 @@ S="${WORKDIR}/${PN}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.11:=
@@ -35,3 +33,11 @@ src_prepare() {
# upstream tag on top of source tree. has no autogenerated files
eautoreconf
}
+
+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/guile-gcrypt/guile-gcrypt-0.4.0.ebuild b/dev-scheme/guile-gcrypt/guile-gcrypt-0.4.0.ebuild
index 7c88a2ac40d5..925cd6308503 100644
--- a/dev-scheme/guile-gcrypt/guile-gcrypt-0.4.0.ebuild
+++ b/dev-scheme/guile-gcrypt/guile-gcrypt-0.4.0.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,8 +13,6 @@ S="${WORKDIR}/${PN}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.11:=
@@ -35,3 +33,11 @@ src_prepare() {
# upstream tag on top of source tree. has no autogenerated files
eautoreconf
}
+
+src_install() {
+ default
+
+ # Workaround llvm-strip problem of mangling guile ELF debug
+ # sections: https://bugs.gentoo.org/905898
+ dostrip -x "/usr/$(get_libdir)/guile"
+}