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
This commit is contained in:
Samuel Browne 2023-07-12 12:01:12 -06:00 committed by GitHub
parent c2bafd7b7f
commit 78b24b45f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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