diff --git a/var/spack/repos/builtin/packages/py-pygobject/package.py b/var/spack/repos/builtin/packages/py-pygobject/package.py index 6c81418fce..dc59d6749f 100644 --- a/var/spack/repos/builtin/packages/py-pygobject/package.py +++ b/var/spack/repos/builtin/packages/py-pygobject/package.py @@ -38,6 +38,7 @@ class PyPygobject(AutotoolsPackage): extends('python') + depends_on('pkgconfig', type=('build')) depends_on("libffi") depends_on('glib') depends_on('py-py2cairo', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-pygtk/package.py b/var/spack/repos/builtin/packages/py-pygtk/package.py index 7edda3dec0..2227e0f77f 100644 --- a/var/spack/repos/builtin/packages/py-pygtk/package.py +++ b/var/spack/repos/builtin/packages/py-pygtk/package.py @@ -34,6 +34,8 @@ class PyPygtk(AutotoolsPackage): version('2.24.0', 'd27c7f245a9e027f6b6cd9acb7468e36') extends('python') + + depends_on('pkgconfig', type=('build')) depends_on("libffi") depends_on('cairo') depends_on('glib')