package/wget: use the new gettextize infra

Instead of using a custom hook to gettextize wget, use the new
gettextize infra we just added in the previous patch.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yann E. MORIN 2014-07-17 00:00:37 +02:00 committed by Thomas Petazzoni
parent 1bdd6ca020
commit 70c2514b8a
1 changed files with 1 additions and 8 deletions

View File

@ -12,14 +12,7 @@ WGET_LICENSE_FILES = COPYING
# patching gnulib .m4 file
WGET_AUTORECONF = YES
# Ugly kludge to fix autoreconf with old gettext infra
# We need to gettextize before autoreconf to upgrade
WGET_DEPENDENCIES += host-gettext
define WGET_GETTEXTIZE
cd $(@D) ; $(HOST_DIR)/usr/bin/gettextize -f
endef
WGET_PRE_CONFIGURE_HOOKS += WGET_GETTEXTIZE
WGET_GETTEXTIZE = YES
# Prefer full-blown wget over busybox
ifeq ($(BR2_PACKAGE_BUSYBOX),y)