diff --git a/var/spack/repos/builtin/packages/doxygen/package.py b/var/spack/repos/builtin/packages/doxygen/package.py index 72932423c57..b1254e91c12 100644 --- a/var/spack/repos/builtin/packages/doxygen/package.py +++ b/var/spack/repos/builtin/packages/doxygen/package.py @@ -63,10 +63,11 @@ def determine_variants(cls, exes, version_str): 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')