summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin S <3630356+codeandkey@users.noreply.github.com>2020-05-11 12:32:36 -0500
committerGitHub <noreply@github.com>2020-05-11 12:32:36 -0500
commit20a4e5efe87218fc5a6c46bad3399387bc9d3964 (patch)
treee1edb6dcf3d1bc67d7cdfd6bc8edeb61bffd0f76
parentcd2e906702dad47bcc76fbfa3f46c5010bb17d0b (diff)
downloadspack-20a4e5efe87218fc5a6c46bad3399387bc9d3964.tar.gz
spack-20a4e5efe87218fc5a6c46bad3399387bc9d3964.tar.bz2
spack-20a4e5efe87218fc5a6c46bad3399387bc9d3964.tar.xz
spack-20a4e5efe87218fc5a6c46bad3399387bc9d3964.zip
stata: add new libpng dependency (#16582)
-rw-r--r--var/spack/repos/builtin/packages/stata/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/stata/package.py b/var/spack/repos/builtin/packages/stata/package.py
index 6a34f8b593..263fc60cd0 100644
--- a/var/spack/repos/builtin/packages/stata/package.py
+++ b/var/spack/repos/builtin/packages/stata/package.py
@@ -30,8 +30,8 @@ class Stata(Package):
version('16', 'a13a6a92558eeb3c6cb3013c458a6777e54c21af43599df6b0a924f5f5c2d5d2')
version('15', '2486f4c7db1e7b453004c7bd3f8da40ba1e30be150613065c7b82b1915259016')
- # V15 depends on libpng v12 and fails with other versions of libpng
- depends_on('libpng@1.2.57')
+ depends_on('libpng@1.2.57', when='@15', type='run')
+ depends_on('libpng@1.6:1.6.99', when='@16', type='run')
# STATA is downloaded from user/pass protected ftp as Stata15Linux64.tar.gz
def url_for_version(self, version):