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"