Skip to contentSkip to conversation

psmisc: Fix dependency for USE_NLS=no

PATCH New Adrian Bunk 1 participant 1 message Aug 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 psmisc: Fix dependency for USE_NLS=no

From: Jason Wessel <[email protected]>

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.

---
 meta/recipes-extended/psmisc/psmisc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/psmisc/psmisc.inc +1 -1
index 82ef947709..594a10cf22 100644
@@ -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"
Signature · 1 line
2.17.1