summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-05-10 00:57:27 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-05-10 00:57:27 -0700
commit1568e64f95bcfe7fc1ff951488789462050c0640 (patch)
tree7e4e04e72bd9793b132879259b5cb273539fd8ef
parent5e471719a620111e2af633cb37fd41ea7aece4ce (diff)
parent176b9febb4ae0c653645cf5253b90019e9fc73f5 (diff)
downloadspack-1568e64f95bcfe7fc1ff951488789462050c0640.tar.gz
spack-1568e64f95bcfe7fc1ff951488789462050c0640.tar.bz2
spack-1568e64f95bcfe7fc1ff951488789462050c0640.tar.xz
spack-1568e64f95bcfe7fc1ff951488789462050c0640.zip
Merge pull request #862 from davydden/glib_libxcb_missing_dependencies
Glib libxcb missing dependencies
-rw-r--r--var/spack/repos/builtin/packages/glib/package.py3
-rw-r--r--var/spack/repos/builtin/packages/libxcb/package.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py
index 67ead5f941..a3fc3f79eb 100644
--- a/var/spack/repos/builtin/packages/glib/package.py
+++ b/var/spack/repos/builtin/packages/glib/package.py
@@ -1,4 +1,5 @@
from spack import *
+import sys
class Glib(Package):
"""The GLib package contains a low-level libraries useful for
@@ -12,6 +13,8 @@ class Glib(Package):
depends_on("libffi")
depends_on("zlib")
+ depends_on("pkg-config")
+ depends_on('gettext', sys.platform=='darwin')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
diff --git a/var/spack/repos/builtin/packages/libxcb/package.py b/var/spack/repos/builtin/packages/libxcb/package.py
index d7d94c4546..b2543be5da 100644
--- a/var/spack/repos/builtin/packages/libxcb/package.py
+++ b/var/spack/repos/builtin/packages/libxcb/package.py
@@ -13,6 +13,7 @@ class Libxcb(Package):
version('1.11.1', '118623c15a96b08622603a71d8789bf3')
depends_on("python")
depends_on("xcb-proto")
+ depends_on("pkg-config")
# depends_on('pthread') # Ubuntu: apt-get install libpthread-stubs0-dev
# depends_on('xau') # Ubuntu: apt-get install libxau-dev