From 8c65264690726203ab8e28bdf5f4e5893eca8f82 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 28 Jan 2020 23:10:19 -0800 Subject: [PATCH] indent: Do not build docs It fails to build currently, with texinfo-dummy | File "/mnt/a/tmp-yoe/work/riscv64-yoe-linux-musl/indent/2.2.12-r0/recipe-sysroot-native/usr/bin/makeinfo", line 100, in | stub_msg | AssertionError: Don't know how to get default output file name from input file ! | This stand-in version of makeinfo is not yet fully capable of emulating | the real version from the GNU texinfo suite. If you see this message, file a | bug report with details on the recipe that failed. | | make[2]: *** [Makefile:814: indent.html] Error 1 Signed-off-by: Khem Raj --- .../0001-Fix-builds-with-recent-gettext.patch | 14 +++++++++++--- meta-oe/recipes-extended/indent/indent_2.2.12.bb | 4 +++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/meta-oe/recipes-extended/indent/indent/0001-Fix-builds-with-recent-gettext.patch b/meta-oe/recipes-extended/indent/indent/0001-Fix-builds-with-recent-gettext.patch index e48dfb33c0..e9dadace02 100644 --- a/meta-oe/recipes-extended/indent/indent/0001-Fix-builds-with-recent-gettext.patch +++ b/meta-oe/recipes-extended/indent/indent/0001-Fix-builds-with-recent-gettext.patch @@ -9,8 +9,6 @@ Signed-off-by: Alexander Kanavin Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/Makefile.am b/Makefile.am -index 548fea7..cf01c5e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ @@ -18,7 +16,17 @@ index 548fea7..cf01c5e 100644 AUTOMAKE_OPTIONS = no-texinfo.tex -SUBDIRS = intl src doc po man -+SUBDIRS = src doc po man ++SUBDIRS = src po man BUILT_SOURCES = +--- a/configure.ac ++++ b/configure.ac +@@ -58,7 +58,6 @@ fi + AC_HEADER_DIRENT + + AC_OUTPUT([ +- intl/Makefile + po/Makefile.in + Makefile + src/Makefile diff --git a/meta-oe/recipes-extended/indent/indent_2.2.12.bb b/meta-oe/recipes-extended/indent/indent_2.2.12.bb index 0a866574bd..0f4f4c2206 100644 --- a/meta-oe/recipes-extended/indent/indent_2.2.12.bb +++ b/meta-oe/recipes-extended/indent/indent_2.2.12.bb @@ -10,6 +10,8 @@ you want a program to format your code." LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +DEPENDS = "virtual/gettext" + SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ file://0001-src-indent.c-correct-the-check-for-locale.h.patch \ file://0001-Makefile.am-remove-regression-dir.patch \ @@ -20,7 +22,7 @@ SRC_URI[sha256sum] = "e77d68c0211515459b8812118d606812e300097cfac0b4e9fb34726642 inherit autotools gettext texinfo -CFLAGS_class-native += " -Wno-error=unused-value" +CFLAGS_append_class-native = " -Wno-error=unused-value" FILES_${PN}-doc += "/usr/doc/indent/indent.html"