From 78b24b45f6b6ac36e84b95a53393065bfe94d633 Mon Sep 17 00:00:00 2001 From: Samuel Browne Date: Wed, 12 Jul 2023 12:01:12 -0600 Subject: Add gettext as a dependency of bison (#35979) The 'bison' executable requires libtextstyle to run. I think this was usually satisfied because gettext is often installed with the OS, or brought in accidentally via perl/m4. Looks like the libtextstyle library dependency started in Bison 3.4 --- var/spack/repos/builtin/packages/bison/package.py | 1 + 1 file changed, 1 insertion(+) diff --git a/var/spack/repos/builtin/packages/bison/package.py b/var/spack/repos/builtin/packages/bison/package.py index afb4086191..1ad363f747 100644 --- a/var/spack/repos/builtin/packages/bison/package.py +++ b/var/spack/repos/builtin/packages/bison/package.py @@ -53,6 +53,7 @@ class Bison(AutotoolsPackage, GNUMirrorPackage): provides("yacc") + depends_on("gettext", when="@3.4:") depends_on("diffutils", type="build") depends_on("m4", type=("build", "run")) depends_on("perl", type="build") -- cgit v1.2.3-70-g09d2