summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 23:15:20 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:34:03 +0200
commit48a851d1bb909ef49885db14c5b35a08e9c2d123 (patch)
tree7ccdf67eefc40a66d9e92d0e8572410106e11119
parent8833495a3659ee0686d6413133742a0b42580ecb (diff)
downloadbuildroot-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.in1
-rw-r--r--package/psmisc/psmisc.mk2
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
OpenPOWER on IntegriCloud