commit:     d03f021353ae74174f16e30280378c49aeda970e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri May 31 06:03:13 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri May 31 06:04:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d03f0213

dev-ml/num: ignore TEXTRELS on 32 bits arch

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

 dev-ml/num/num-1.4-r3.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-ml/num/num-1.4-r3.ebuild b/dev-ml/num/num-1.4-r3.ebuild
index d9a74072c775..d1de04d9d68e 100644
--- a/dev-ml/num/num-1.4-r3.ebuild
+++ b/dev-ml/num/num-1.4-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -31,6 +31,10 @@ src_test() {
 }
 
 src_install() {
+       # OCaml generates textrels on 32-bit arches
+       if use arm || use ppc || use x86 ; then
+               export QA_TEXTRELS='.*'
+       fi
        findlib_src_install NATDYNLINK="$(usex ocamlopt true false)"
 
        if has_version ">=dev-ml/findlib-1.9" ; then

Reply via email to