summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/doxygen/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/doxygen/package.py b/var/spack/repos/builtin/packages/doxygen/package.py
index 72932423c5..b1254e91c1 100644
--- a/var/spack/repos/builtin/packages/doxygen/package.py
+++ b/var/spack/repos/builtin/packages/doxygen/package.py
@@ -63,10 +63,11 @@ class Doxygen(CMakePackage):
depends_on("python", type='build') # 2 or 3 OK; used in CMake build
depends_on("iconv")
depends_on("flex", type='build')
+ depends_on("bison", type='build')
# code.l just checks subminor version <=2.5.4 or >=2.5.33
# but does not recognize 2.6.x as newer...could be patched if needed
depends_on("flex@2.5.39", type='build', when='@1.8.10')
- depends_on("bison", type='build')
+ depends_on("bison@2.7:", type='build', when='@1.8.10:')
# optional dependencies
depends_on("graphviz", when="+graphviz", type='run')