From: Bernd Waibel Date: Fri, 3 Apr 2020 15:59:05 +0000 (+0200) Subject: sci-libs/umfpack: fix build with USE=doc X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0b6f695a3d22f8f5c20f80702fa9cdb8b9337b24;p=gentoo.git 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 Signed-off-by: Andreas Sturmlechner --- diff --git a/sci-libs/umfpack/umfpack-5.7.9.ebuild b/sci-libs/umfpack/umfpack-5.7.9.ebuild index d4c065afcadf..3c62f3d82bb4 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 +}