Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev@l.g.o
Cc: ml@g.o, Sam James <sam@g.o>
Subject: [gentoo-dev] [PATCH 2/3] findlib.eclass: restrict strip
Date: Mon, 11 Oct 2021 05:08:46
Message-Id: 20211011050759.2896218-2-sam@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/3] dune.eclass: restrict strip by Sam James
1 This breaks at least ocamlopt.
2
3 Closes: https://bugs.gentoo.org/803047
4 Closes: https://bugs.gentoo.org/811315
5 Signed-off-by: Sam James <sam@g.o>
6 ---
7 eclass/findlib.eclass | 2 ++
8 1 file changed, 2 insertions(+)
9
10 diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass
11 index 3b19b30c57c9b..6239beccb7a43 100644
12 --- a/eclass/findlib.eclass
13 +++ b/eclass/findlib.eclass
14 @@ -25,6 +25,8 @@ QA_FLAGS_IGNORED='.*'
15 # Required to use the ocamlopt? dep in RDEPEND below
16 IUSE="ocamlopt"
17
18 +RESTRICT="strip"
19 +
20 # From this findlib version, there is proper stublibs support.
21 DEPEND=">=dev-ml/findlib-1.0.4-r1"
22 [[ ${FINDLIB_USE} ]] && DEPEND="${FINDLIB_USE}? ( ${DEPEND} )"
23 --
24 2.33.0