summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2019-03-20 04:57:08 +0100
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-03-20 04:57:08 +0100
commitde3ff1a96bccdaeeb3e1639087be036e4d213d53 (patch)
tree9eff901ace7ae514f07c14567f439c4a7e4dfad2
parente717230bf8a0a7ea6db8ed1d13e2ebf6b0fbb08c (diff)
downloadspack-de3ff1a96bccdaeeb3e1639087be036e4d213d53.tar.gz
spack-de3ff1a96bccdaeeb3e1639087be036e4d213d53.tar.bz2
spack-de3ff1a96bccdaeeb3e1639087be036e4d213d53.tar.xz
spack-de3ff1a96bccdaeeb3e1639087be036e4d213d53.zip
gettext: fix dependency type of xz (#10935)
-rw-r--r--var/spack/repos/builtin/packages/gettext/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/gettext/package.py b/var/spack/repos/builtin/packages/gettext/package.py
index e795d82bf5..c665f50914 100644
--- a/var/spack/repos/builtin/packages/gettext/package.py
+++ b/var/spack/repos/builtin/packages/gettext/package.py
@@ -34,7 +34,7 @@ class Gettext(AutotoolsPackage):
depends_on('tar', when='+tar')
# depends_on('gzip', when='+gzip')
depends_on('bzip2', when='+bzip2')
- depends_on('xz', when='+xz')
+ depends_on('xz', when='+xz', type=('build', 'link', 'run'))
# Optional dependencies
# depends_on('glib') # circular dependency?