diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-03 23:15:20 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-05 01:34:03 +0200 |
commit | 48a851d1bb909ef49885db14c5b35a08e9c2d123 (patch) | |
tree | 7ccdf67eefc40a66d9e92d0e8572410106e11119 | |
parent | 8833495a3659ee0686d6413133742a0b42580ecb (diff) | |
download | buildroot-48a851d1bb909ef49885db14c5b35a08e9c2d123.tar.gz buildroot-48a851d1bb909ef49885db14c5b35a08e9c2d123.zip |
psmisc: 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
- dropping BR2_PACKAGE_GETTEXT selection
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/psmisc/Config.in | 1 | ||||
-rw-r--r-- | package/psmisc/psmisc.mk | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/package/psmisc/Config.in b/package/psmisc/Config.in index 2b66bcfa94..0d1d061a06 100644 --- a/package/psmisc/Config.in +++ b/package/psmisc/Config.in @@ -2,7 +2,6 @@ config BR2_PACKAGE_PSMISC bool "psmisc" depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE help Helpful /proc related utilities such as pstree, fuser, and killall diff --git a/package/psmisc/psmisc.mk b/package/psmisc/psmisc.mk index 408c047ede..3d9a80462d 100644 --- a/package/psmisc/psmisc.mk +++ b/package/psmisc/psmisc.mk @@ -9,7 +9,7 @@ PSMISC_SITE = http://downloads.sourceforge.net/project/psmisc/psmisc PSMISC_SOURCE = psmisc-$(PSMISC_VERSION).tar.xz PSMISC_LICENSE = GPL-2.0 PSMISC_LICENSE_FILES = COPYING -PSMISC_DEPENDENCIES = ncurses $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) +PSMISC_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) # Patching Makefile.am PSMISC_AUTORECONF = YES |