summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-05-31 08:03:13 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-05-31 08:04:00 +0200
commitd03f021353ae74174f16e30280378c49aeda970e (patch)
treef10b86d573abd923ee18a311ec5e8c944c53dffc /dev-ml/num/num-1.4-r3.ebuild
parentkde-apps/kitinerary: Fix build with >=app-text/poppler-24.05 (diff)
downloadgentoo-d03f021353ae74174f16e30280378c49aeda970e.tar.gz
gentoo-d03f021353ae74174f16e30280378c49aeda970e.tar.bz2
gentoo-d03f021353ae74174f16e30280378c49aeda970e.zip
dev-ml/num: ignore TEXTRELS on 32 bits arch
Closes: https://bugs.gentoo.org/723750 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/num/num-1.4-r3.ebuild')
-rw-r--r--dev-ml/num/num-1.4-r3.ebuild6
1 files changed, 5 insertions, 1 deletions
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