Signed-off-by: Florian Schmaus <f...@gentoo.org>
---
 eclass/latex-package.eclass | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass
index dfef7fc2836f..f23897d4315c 100644
--- a/eclass/latex-package.eclass
+++ b/eclass/latex-package.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: latex-package.eclass
@@ -60,6 +60,8 @@ esac
 if [[ -z ${_LATEX_PACKAGE_ECLASS} ]]; then
 _LATEX_PACKAGE_ECLASS=1
 
+inherit edo
+
 RDEPEND="virtual/latex-base"
 BDEPEND="${RDEPEND}
        >=sys-apps/texinfo-4.2-r5"
@@ -145,11 +147,11 @@ latex-package_src_doinstall() {
                                                        "${i}"
                                                )
                                                # some macros need compiler 
called twice, do it here.
-                                               if "${mypdflatex[@]}"; then
-                                                       "${mypdflatex[@]}"
+                                               if nonfatal edo 
"${mypdflatex[@]}"; then
+                                                       edo "${mypdflatex[@]}"
                                                else
                                                        einfo "pdflatex failed, 
trying texi2dvi"
-                                                       texi2dvi -q -c 
--language=latex "${i}" || die
+                                                       edo texi2dvi -q -c 
--language=latex "${i}"
                                                fi
                                        done < <(find -maxdepth 1 -type f -name 
"*.${1}" -print0)
                                fi
-- 
2.45.3


Reply via email to