summaryrefslogtreecommitdiffstats
path: root/package/sysstat/sysstat.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 23:19:34 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:35:41 +0200
commit9835c1921c08f6eb7723d5df64371ac3446a7539 (patch)
tree39a887cb3147bbd88fcd68071d5f84707db9b380 /package/sysstat/sysstat.mk
parent61de612a0b704bbc63da3d21e05331a26320bcdb (diff)
downloadbuildroot-9835c1921c08f6eb7723d5df64371ac3446a7539.tar.gz
buildroot-9835c1921c08f6eb7723d5df64371ac3446a7539.zip
sysstat: 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 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/sysstat/sysstat.mk')
-rw-r--r--package/sysstat/sysstat.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/package/sysstat/sysstat.mk b/package/sysstat/sysstat.mk
index bd73214c35..e4ba662643 100644
--- a/package/sysstat/sysstat.mk
+++ b/package/sysstat/sysstat.mk
@@ -8,14 +8,10 @@ SYSSTAT_VERSION = 11.4.4
SYSSTAT_SOURCE = sysstat-$(SYSSTAT_VERSION).tar.xz
SYSSTAT_SITE = http://pagesperso-orange.fr/sebastien.godard
SYSSTAT_CONF_OPTS = --disable-file-attr --disable-sensors
-SYSSTAT_DEPENDENCIES = host-gettext
+SYSSTAT_DEPENDENCIES = host-gettext $(TARGET_NLS_DEPENDENCIES)
SYSSTAT_LICENSE = GPL-2.0+
SYSSTAT_LICENSE_FILES = COPYING
-
-ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
-SYSSTAT_DEPENDENCIES += gettext
-SYSSTAT_MAKE_OPTS += LFLAGS="$(TARGET_LDFLAGS) -lintl"
-endif
+SYSSTAT_MAKE_OPTS += LFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)"
# The isag tool is a post processing script that depends on tcl/tk
# among other things. So we don't install it.
OpenPOWER on IntegriCloud