Explicitly depend on gettext for libintl (#48908)

This commit is contained in:
Chris Marsh 2025-03-04 16:25:31 -06:00 committed by GitHub
parent 487df807cc
commit 60f54df964
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,6 +96,7 @@ class R(AutotoolsPackage):
depends_on("zlib-api")
depends_on("zlib@1.2.5:", when="^[virtuals=zlib-api] zlib")
depends_on("texinfo", type="build")
depends_on("gettext")
with when("+X"):
depends_on("cairo+X+gobject+pdf")
@ -197,6 +198,8 @@ def configure_args(self):
"ac_cv_path_TEXI2DVI=",
]
config_args.append("--with-libintl-prefix={0}".format(spec["gettext"].prefix))
if "+X" in spec:
config_args.append("--with-cairo")
config_args.append("--with-jpeglib")