Explicitly depend on gettext for libintl (#48908)
This commit is contained in:
parent
487df807cc
commit
60f54df964
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user