commit:     9a688b93090ecacb6cc5e6fde0a84139df2934d9
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  1 21:26:57 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jun  1 21:26:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a688b93

dev-ml/findlib: ignore TEXTRELS

Closes: https://bugs.gentoo.org/925879
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/findlib/findlib-1.8.1-r2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-ml/findlib/findlib-1.8.1-r2.ebuild 
b/dev-ml/findlib/findlib-1.8.1-r2.ebuild
index f85c3ea4696b..5ff4e23161ab 100644
--- a/dev-ml/findlib/findlib-1.8.1-r2.ebuild
+++ b/dev-ml/findlib/findlib-1.8.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -45,6 +45,10 @@ src_compile() {
 }
 
 src_install() {
+       # OCaml generates textrels on 32-bit arches
+       if use arm || use ppc || use x86 ; then
+               export QA_TEXTRELS='.*'
+       fi
        emake prefix="${D}" install
 
        dodir "${stublibs#${EPREFIX}}"

Reply via email to