mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
sci-visualization/gnuplot: Fix build of documentation without gd.
Bug: https://bugs.gentoo.org/577828 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -158,10 +158,10 @@ src_compile() {
|
||||
if use doc; then
|
||||
# Avoid sandbox violation in epstopdf/ghostscript
|
||||
addpredict /var/cache/fontconfig
|
||||
if use cairo; then
|
||||
if use cairo && use gd; then
|
||||
emake -C docs pdf
|
||||
else
|
||||
ewarn "Cannot build figures unless cairo is enabled."
|
||||
ewarn "Cannot build figures unless cairo and gd are enabled."
|
||||
ewarn "Building documentation without figures."
|
||||
emake -C docs pdf_nofig
|
||||
mv docs/nofigures.pdf docs/gnuplot.pdf || die
|
||||
|
||||
Reference in New Issue
Block a user