summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/mapserver/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mapserver/package.py b/var/spack/repos/builtin/packages/mapserver/package.py
index e05b2b32c1..a2bb66053b 100644
--- a/var/spack/repos/builtin/packages/mapserver/package.py
+++ b/var/spack/repos/builtin/packages/mapserver/package.py
@@ -29,6 +29,8 @@ class Mapserver(CMakePackage):
depends_on('jpeg')
depends_on('zlib')
depends_on('proj')
+ depends_on('proj@:5', when='@:7.3')
+ depends_on('proj@6:', when='@7.4:')
depends_on('curl', when='+curl')
depends_on('geos')
depends_on('libxml2')