whois: use the new gettext logic
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 3 Jul 2017 21:23:43 +0000 (23:23 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Jul 2017 23:36:34 +0000 (01:36 +0200)
commit3eb862bff5d318bb2e1e4983abf3a7dfc7efdece
treee2fdf362231cc3ca1411ccd0508ca0cfd5a136a6
parent5f8d6569ed75f7c7be83ad16e7a6d0fb50c3ad0c
whois: use the new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

 - dropping BR2_PACKAGE_GETTEXT selection, which means we no longer
   need to depend on BR2_USE_WCHAR, so this dependency is dropped

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/whois/Config.in
package/whois/whois.mk