-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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
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
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
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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