[Buildroot] [PATCH 1/5 v2] pkg-autotools: add support to gettextize a package

Gustavo Zacarias gustavo at zacarias.com.ar
Tue Jul 15 23:46:07 UTC 2014


On 07/15/2014 07:37 PM, Yann E. MORIN wrote:

Hi, a couple of late-night fixes:

> +ifndef $(2)_GETTEXTIZE
> + ifdef $(3)_GETTEXTIZE
> +  $(2)_GETTEXTIZE = $($(3)_GETTEXTIZE)

$(2)_GETTEXTIZE = $$($(3)_GETTEXTIZE)

> +ifndef $(2)_GETTEXTIZE_OPT
> + ifdef $(3)_GETTEXTIZE_OPT
> +  $(2)_GETTEXTIZE_OPT = $($(3)_GETTEXTIZE)

$(2)_GETTEXTIZE_OPT = $$($(3)_GETTEXTIZE_OPT)

>  ifeq ($$($(2)_AUTORECONF),YES)
> +# This has to come before autoreconf
> +ifeq ($$($(2)_GETTEXTIZE),YES)
> +$(2)_PRE_CONFIGURE_HOOK += GETTEXTIZE_HOOK

$(2)_PRE_CONFIGURE_HOOKS += GETTEXTIZE_HOOK

Regards.



More information about the buildroot mailing list