• [gentoo-dev] [PATCH 2/3] findlib.eclass: restrict strip

    From Sam James@21:1/5 to All on Mon Oct 11 07:10:01 2021
    This breaks at least ocamlopt.

    Closes: https://bugs.gentoo.org/803047
    Closes: https://bugs.gentoo.org/811315
    Signed-off-by: Sam James <sam@gentoo.org>
    ---
    eclass/findlib.eclass | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass
    index 3b19b30c57c9b..6239beccb7a43 100644
    --- a/eclass/findlib.eclass
    +++ b/eclass/findlib.eclass
    @@ -25,6 +25,8 @@ QA_FLAGS_IGNORED='.*'
    # Required to use the ocamlopt? dep in RDEPEND below
    IUSE="ocamlopt"

    +RESTRICT="strip"
    +
    # From this findlib version, there is proper stublibs support.
    DEPEND=">=dev-ml/findlib-1.0.4-r1"
    [[ ${FINDLIB_USE} ]] && DEPEND="${FINDLIB_USE}? ( ${DEPEND} )"
    --
    2.33.0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)