Skip to contentSkip to conversation

package/procps-ng: needs gettext if locales

PATCH New Yann E. MORIN 2 participants 2 messages Jun 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/procps-ng: needs gettext if locales

From: "Yann E. MORIN" <[email protected]>

Fixes:

    http://autobuild.buildroot.net/results/88a/88a2c8907dce0e5abe0d544ce9a2875dfdcc9e7c/
---
 package/procps-ng/Config.in    | 1 +
 package/procps-ng/procps-ng.mk | 5 +++++
 2 files changed, 6 insertions(+)
package/procps-ng/Config.in +1 -0
index 0dea84a..7463fa8 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_PROCPS_NG
 	bool "procps-ng"
 	select BR2_PACKAGE_NCURSES
+	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	help
 	  Standard informational utilities and process-handling tools.
 	  Provides things like kill, ps, uptime, free, top, etc...
package/procps-ng/procps-ng.mk +5 -0
index 3245e92..9227cc4 100644
@@ -12,4 +12,9 @@ PROCPS_NG_LICENSE_FILES = COPYING COPYING.LIB
 
 PROCPS_NG_DEPENDENCIES = ncurses
 
+ifeq ($(BR2_PACKAGE_GETTEXT),y)
+PROCPS_NG_DEPENDENCIES += gettext
+PROCPS_NG_CONF_OPT += LIBS=-lintl
+endif
+
 $(eval $(autotools-package))
Signature · 1 line
1.8.3.2