summaryrefslogtreecommitdiffstats
path: root/package/quota/quota.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 23:16:03 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:34:04 +0200
commita18a9c8a72f215cf6aa0b7fa28e00ae892e24d8e (patch)
treeb5b7601d16b81674957e88d664adc89d3ed7c1d6 /package/quota/quota.mk
parentbf216e48e1a163c19f8130bbb9792089b0fec544 (diff)
downloadbuildroot-a18a9c8a72f215cf6aa0b7fa28e00ae892e24d8e.tar.gz
buildroot-a18a9c8a72f215cf6aa0b7fa28e00ae892e24d8e.zip
quota: 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/quota/quota.mk')
-rw-r--r--package/quota/quota.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/package/quota/quota.mk b/package/quota/quota.mk
index d3b8755293..5bd9013d6a 100644
--- a/package/quota/quota.mk
+++ b/package/quota/quota.mk
@@ -6,18 +6,14 @@
QUOTA_VERSION = 4.01
QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
-QUOTA_DEPENDENCIES = host-gettext
+QUOTA_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
QUOTA_AUTORECONF = YES
QUOTA_LICENSE = GPL-2.0+
QUOTA_CONF_OPTS = --disable-strip-binaries
+QUOTA_LIBS = $(TARGET_NLS_LIBS)
QUOTA_CFLAGS = $(TARGET_CFLAGS)
-ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
-QUOTA_DEPENDENCIES += gettext
-QUOTA_LIBS += -lintl
-endif
-
ifeq ($(BR2_PACKAGE_E2FSPROGS),y)
QUOTA_DEPENDENCIES += e2fsprogs
QUOTA_CONF_OPTS += --enable-ext2direct
OpenPOWER on IntegriCloud