commit:     0b6f695a3d22f8f5c20f80702fa9cdb8b9337b24
Author:     Bernd Waibel <waebbl <AT> gmail <DOT> com>
AuthorDate: Fri Apr  3 15:59:05 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Apr 10 16:43:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b6f695a

sci-libs/umfpack: fix build with USE=doc

Add a src_compile() function needed to build pkfonts, if USE=doc
is enabled.

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/umfpack/umfpack-5.7.9.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sci-libs/umfpack/umfpack-5.7.9.ebuild 
b/sci-libs/umfpack/umfpack-5.7.9.ebuild
index d4c065afcad..3c62f3d82bb 100644
--- a/sci-libs/umfpack/umfpack-5.7.9.ebuild
+++ b/sci-libs/umfpack/umfpack-5.7.9.ebuild
@@ -29,3 +29,8 @@ src_configure() {
                $(use_enable static-libs static) \
                $(use_with cholmod)
 }
+
+src_compile() {
+       use doc && export VARTEXFONTS="${T}/fonts"
+       default
+}

Reply via email to