commit:     85777807c600ab39337cddd584d2f6dfd12cecae
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  1 21:38:31 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jun  1 21:39:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85777807

dev-ml/camlp4: ignore TEXTRELS

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

 dev-ml/camlp4/camlp4-4.14_p1-r2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-ml/camlp4/camlp4-4.14_p1-r2.ebuild 
b/dev-ml/camlp4/camlp4-4.14_p1-r2.ebuild
index bc9abed5b0d0..9f7b215b7642 100644
--- a/dev-ml/camlp4/camlp4-4.14_p1-r2.ebuild
+++ b/dev-ml/camlp4/camlp4-4.14_p1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -46,6 +46,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 DESTDIR="${D}" install install-META
        dodoc CHANGES.md README.md
 }

Reply via email to