commit: e04e586ed5f7311a9fcae24bafc0c59b31a1ce98
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 20 08:41:09 2025 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Feb 25 16:35:58 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e04e586e
latex-package.eclass: use edo
Signed-off-by: Florian Schmaus <flow <AT> 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