From 7153beeccb76c2656c7cedc1a7fc409df6a53255 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 24 Jun 2026 23:38:53 +0000 Subject: [PATCH] libmng: skip pre-configure make clean via CLEANBROKEN The release tarball ships a pre-generated Makefile with the maintainer's absolute build paths baked in (${SHELL} /sources/LIB/MNG/.../missing) so the make clean run by autotools_preconfigure fails before autoreconf regenerates the build system. Set CLEANBROKEN to skip that pre-configure clean. Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb index fe76520d15..76b8078bb2 100644 --- a/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb +++ b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb @@ -18,6 +18,12 @@ UPSTREAM_CHECK_REGEX = "libmng-devel/(?P\d+(\.\d+)+)" inherit autotools-brokensep pkgconfig +# The release tarball ships a pre-generated Makefile with the maintainer's +# absolute build paths baked in (e.g. ${SHELL} /sources/LIB/MNG/.../missing), +# so the "make clean" run by autotools_preconfigure fails before autoreconf +# regenerates the build system. Skip that pre-configure clean. +CLEANBROKEN = "1" + PACKAGECONFIG ??= "jpeg" PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,jpeg"