doxygen: add version restriction (#22773)

This triggered on my mac because clingo seems to have bootstrapped a
very old version distributed by apple.
This commit is contained in:
Seth R. Johnson 2021-04-06 09:09:01 +02:00 committed by GitHub
parent e5c7723276
commit 26c7f02873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')