diff --git a/var/spack/repos/builtin/packages/graphviz/package.py b/var/spack/repos/builtin/packages/graphviz/package.py index 17197f1838..4f8e772f19 100644 --- a/var/spack/repos/builtin/packages/graphviz/package.py +++ b/var/spack/repos/builtin/packages/graphviz/package.py @@ -95,7 +95,7 @@ class Graphviz(AutotoolsPackage): depends_on('ghostscript', when='+ghostscript') depends_on('gtkplus', when='+gtkplus') depends_on('gts', when='+gts') - depends_on('cairo+pdf', when='+pangocairo') + depends_on('cairo+pdf+png+svg', when='+pangocairo') depends_on('fontconfig', when='+pangocairo') depends_on('freetype', when='+pangocairo') depends_on('glib', when='+pangocairo')