summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/r-sf/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/r-sf/package.py b/var/spack/repos/builtin/packages/r-sf/package.py
index 68e61eb1c7..711915fc6f 100644
--- a/var/spack/repos/builtin/packages/r-sf/package.py
+++ b/var/spack/repos/builtin/packages/r-sf/package.py
@@ -25,4 +25,6 @@ class RSf(RPackage):
depends_on('r-magrittr', type=('build', 'run'))
depends_on('gdal@2.0.0:')
depends_on('geos@3.3.0:')
- depends_on('proj@4.8.0:')
+ # Since PROJ.4 and PROJ.6 have incompatible APIs, I'm assuming
+ # that since r-sf supports PROJ.4, it doesn't support PROJ.6
+ depends_on('proj@4.8.0:5')