commit:     db1ace31073530f97e5b5ff0261d0dda350ef8b9
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 16:36:42 2024 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri May 24 17:46:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db1ace31

x11-wm/stumpwm: Fix build failure with USE=doc

Add missing font dependency.

Closes: https://bugs.gentoo.org/882935
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 x11-wm/stumpwm/stumpwm-22.05_p20220818.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/x11-wm/stumpwm/stumpwm-22.05_p20220818.ebuild 
b/x11-wm/stumpwm/stumpwm-22.05_p20220818.ebuild
index ec421ca8a134..46876099895e 100644
--- a/x11-wm/stumpwm/stumpwm-22.05_p20220818.ebuild
+++ b/x11-wm/stumpwm/stumpwm-22.05_p20220818.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -27,13 +27,17 @@ RDEPEND="dev-lisp/alexandria
                emacs? ( >=app-editors/emacs-23.1:* )"
 DEPEND="${RDEPEND}"
 BDEPEND="sys-apps/texinfo
-               doc? ( virtual/texi2dvi )"
+               doc? (
+                       virtual/texi2dvi
+                       dev-texlive/texlive-fontsrecommended
+               )"
 
 SITEFILE=70${PN}-gentoo.el
 CLPKGDIR="${CLSOURCEROOT}/${CLPACKAGE}"
 
 install_docs() {
        local pdffile="${PN}.pdf"
+       export VARTEXFONTS="${T}/fonts"
 
        texi2pdf -o "${pdffile}" "${PN}.texi.in" && dodoc "${pdffile}" || die
        cp "${FILESDIR}/README.Gentoo" . && sed -i "s:@VERSION@:${PV}:" 
README.Gentoo || die

Reply via email to