summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-01-04 07:51:16 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2017-01-04 07:51:16 -0800
commit2e24a3a2be933b853905131c360becb35b67ebf1 (patch)
treecbd66fc3ec358edee1f5e7279a98de42474426ba
parent2322deda65b687dd13e4b50fc07cd3fa8dafff5a (diff)
downloadspack-2e24a3a2be933b853905131c360becb35b67ebf1.tar.gz
spack-2e24a3a2be933b853905131c360becb35b67ebf1.tar.bz2
spack-2e24a3a2be933b853905131c360becb35b67ebf1.tar.xz
spack-2e24a3a2be933b853905131c360becb35b67ebf1.zip
zlib@1.2.10 and R do not get along, work around it (#2727)
* zlib@1.2.10 and R do not get along, work around it R's configure script has trouble with version numbers > 1.2.9. This works around it by constraining R to 1.2.8. I'm working with some R folk on getting it fixed going forward. * Add adamjstewart's change.
-rw-r--r--var/spack/repos/builtin/packages/R/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/R/package.py b/var/spack/repos/builtin/packages/R/package.py
index fa8adb69ea..a60fa8122c 100644
--- a/var/spack/repos/builtin/packages/R/package.py
+++ b/var/spack/repos/builtin/packages/R/package.py
@@ -63,6 +63,7 @@ class R(Package):
depends_on('icu4c')
depends_on('glib')
depends_on('zlib')
+ depends_on('zlib@:1.2.8', when='@:3.3.1')
depends_on('bzip2')
depends_on('libtiff')
depends_on('jpeg')