commit:     b8016276f63ee653979d59a46a1405977ea0fc17
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  2 08:17:57 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jun  2 08:21:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8016276

dev-lang/ocaml: ignore TEXTRELS

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

 dev-lang/ocaml/ocaml-4.14.2.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-lang/ocaml/ocaml-4.14.2.ebuild 
b/dev-lang/ocaml/ocaml-4.14.2.ebuild
index f94e0f851126..bb61347421c2 100644
--- a/dev-lang/ocaml/ocaml-4.14.2.ebuild
+++ b/dev-lang/ocaml/ocaml-4.14.2.ebuild
@@ -79,6 +79,10 @@ src_test() {
 }
 
 src_install() {
+       # OCaml generates textrels on 32-bit arches
+       if use arm || use ppc || use x86 ; then
+               export QA_TEXTRELS='.*'
+       fi
        default
 
        dodir /usr/include

Reply via email to