libnih: Fix build with latest gettext

Run gettextize and fix up the resulting problems so that it builds

Fixes
| make[2]: *** No rule to make target 'libgnuintl.@INTL_LIBTOOL_SUFFIX_PREFIX@a', needed by 'all-no-yes'.  Stop.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2019-12-07 00:57:23 -08:00
parent 53e62e4e57
commit c55a567022
2 changed files with 24314 additions and 4 deletions
@@ -20,19 +20,19 @@ SECTION = "libs"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "dbus libnih-native"
DEPENDS_class-native = "dbus-native"
DEPENDS = "dbus expat"
DEPENDS_append_class-target = " libnih-native"
SRC_URI = "https://launchpad.net/${BPN}/1.0/${PV}/+download/${BP}.tar.gz \
file://libnih_1.0.3-4ubuntu16.patch \
file://0001-signal.c-SIGCLD-and-SIGCHILD-are-same-on-sytem-V-sys.patch \
file://0001-Update-autotool-files-also-make-it-work-with-latest-.patch \
"
SRC_URI[md5sum] = "db7990ce55e01daffe19006524a1ccb0"
SRC_URI[sha256sum] = "897572df7565c0a90a81532671e23c63f99b4efde2eecbbf11e7857fbc61f405"
inherit autotools
inherit gettext
inherit autotools gettext
do_configure_append () {
sed -i -e 's,lib/pkgconfig,${baselib}/pkgconfig,g' ${S}/nih/Makefile.in ${S}/nih-dbus/Makefile.in