Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/psmisc

Buildroot jacmet at uclibc.org 1 participant 1 message Aug 25, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-08-25 02:05:00 -0700 (Mon, 25 Aug 2008) New Revision: 23199

Log:
psmic: locale support

Closes #4274.

Modified:
trunk/buildroot/package/psmisc/Config.in
trunk/buildroot/package/psmisc/psmisc.mk

Changeset:
Modified: trunk/buildroot/package/psmisc/Config.in
===================================================================

buildroot/package/psmisc/Config.in +2 -0
@@ -1,6 +1,8 @@
 config BR2_PACKAGE_PSMISC
 	bool "psmisc"
 	select BR2_PACKAGE_NCURSES
+	select BR2_PACKAGE_GETTEXT if BR2_ENABLE_LOCALE
+	select BR2_PACKAGE_LIBINTL if BR2_ENABLE_LOCALE
 	help
 	  Helpful /proc related utilities such as pstree, fuser, and killall
 

Modified: trunk/buildroot/package/psmisc/psmisc.mk
===================================================================

buildroot/package/psmisc/psmisc.mk +6 -0
@@ -15,4 +15,10 @@
 PSMISC_CONF_OPT:= $(DISABLE_NLS) $(DISABLE_IPV6)
 PSMISC_DEPENDENCIES:=uclibc ncurses
 
+ifeq ($(BR2_ENABLE_LOCALE),y)
+# psmisc gets confused and forgets to link with libintl
+PSMISC_MAKE_OPT:=LIBS=-lintl
+PSMISC_DEPENDENCIES+= gettext libintl
+endif
+
 $(eval $(call AUTOTARGETS,package,psmisc))