]> code.ossystems Code Review - openembedded-core.git/commitdiff
psmisc: Fix dependency for USE_NLS=no
authorJason Wessel <jason.wessel@windriver.com>
Tue, 6 Aug 2019 19:41:21 +0000 (22:41 +0300)
committerArmin Kuster <akuster808@gmail.com>
Wed, 4 Sep 2019 15:21:39 +0000 (08:21 -0700)
When using USE_NLS="no" in the local.conf psmisc will fail to
compile as follows:

| autoreconf: Entering directory `.'
| autoreconf: running: autopoint --force
| autoreconf: failed to run autopoint: No such file or directory
| autoreconf: autopoint is needed because this package uses Gettext
| ERROR: autoreconf execution failed.

This is because the gettext.bbclass returns gettext-minimal-native for
the host dependency which does not include autopoint.  The autopoint
utility is required to build psmisc, so it needs to list
gettext-native as a dependency.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-extended/psmisc/psmisc.inc

index 82ef947709a1fd999b5091c1446852a828c75402..594a10cf2224de08905b5cf76b4d152c7a4bd6f9 100644 (file)
@@ -7,7 +7,7 @@ command sends a specified signal (SIGTERM if nothing is specified) to \
 processes identified by name.  The fuser command identifies the PIDs \
 of processes that are using specified files or filesystems."
 SECTION = "base"
-DEPENDS = "ncurses virtual/libintl"
+DEPENDS = "ncurses virtual/libintl gettext-native"
 LICENSE = "GPLv2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz"