powertop: inherit gettext
authorSaul Wold <sgw@linux.intel.com>
Thu, 9 May 2013 15:18:35 +0000 (08:18 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 May 2013 16:55:31 +0000 (17:55 +0100)
powertop uses gettext during config time and at build time to generate
the messages, so really should inherit gettext

[YOCTO #4470]

(From OE-Core rev: 9eb94ba3d98bf6196eb779590f2fb842ec664177)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/powertop/powertop_2.3.bb

index 8d290d3..8ee349c 100644 (file)
@@ -2,7 +2,7 @@ SUMMARY = "Power usage tool"
 DESCRIPTION = "Linux tool to diagnose issues with power consumption and power management."
 HOMEPAGE = "http://01.org/powertop/"
 BUGTRACKER = "http://bugzilla.lesswatts.org/"
-DEPENDS = "ncurses virtual/gettext libnl pciutils"
+DEPENDS = "ncurses libnl pciutils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
 
@@ -11,7 +11,7 @@ SRC_URI = "http://01.org/powertop/sites/default/files/downloads/powertop-${PV}.t
 SRC_URI[md5sum] = "dc03608f20e56cdc99d121a6191556f6"
 SRC_URI[sha256sum] = "b8c1add69afee28c77dca56fdcedb4a46820f3a71c86aae7891b0c5c595cd744"
 
-inherit autotools
+inherit autotools gettext
 
 # we need to explicitly link with libintl in uClibc systems
 LDFLAGS += "${EXTRA_LDFLAGS}"