bison: remove unnessisary deps, add variant for colored output (#42209)
This commit is contained in:
parent
49b38e3a78
commit
17bfc41841
@ -50,15 +50,15 @@ class Bison(AutotoolsPackage, GNUMirrorPackage):
|
|||||||
version("3.0.4", sha256="b67fd2daae7a64b5ba862c66c07c1addb9e6b1b05c5f2049392cfd8a2172952e")
|
version("3.0.4", sha256="b67fd2daae7a64b5ba862c66c07c1addb9e6b1b05c5f2049392cfd8a2172952e")
|
||||||
version("2.7", sha256="19bbe7374fd602f7a6654c131c21a15aebdc06cc89493e8ff250cb7f9ed0a831")
|
version("2.7", sha256="19bbe7374fd602f7a6654c131c21a15aebdc06cc89493e8ff250cb7f9ed0a831")
|
||||||
|
|
||||||
|
variant("color", default=False, description="Enable experimental colored output", when="@3.4:")
|
||||||
|
|
||||||
# https://lists.gnu.org/archive/html/bug-bison/2019-08/msg00008.html
|
# https://lists.gnu.org/archive/html/bug-bison/2019-08/msg00008.html
|
||||||
patch("parallel.patch", when="@3.4.2")
|
patch("parallel.patch", when="@3.4.2")
|
||||||
|
|
||||||
provides("yacc")
|
provides("yacc")
|
||||||
|
|
||||||
depends_on("gettext", when="@3.4:")
|
depends_on("gettext", when="+color")
|
||||||
depends_on("diffutils", type="build")
|
depends_on("m4@1.4.6:", type=("build", "run"))
|
||||||
depends_on("m4", type=("build", "run"))
|
|
||||||
depends_on("perl", type="build")
|
|
||||||
|
|
||||||
patch("pgi.patch", when="@3.0.4")
|
patch("pgi.patch", when="@3.0.4")
|
||||||
# The NVIDIA compilers do not currently support some GNU builtins.
|
# The NVIDIA compilers do not currently support some GNU builtins.
|
||||||
|
Loading…
Reference in New Issue
Block a user