diff mbox series

[meta-oe,116/128] libmng: skip pre-configure make clean via CLEANBROKEN

Message ID 20260628162222.4081517-16-khem.raj@oss.qualcomm.com
State New
Headers show
Series None | expand

Commit Message

Khem Raj June 28, 2026, 4:22 p.m. UTC
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 <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

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<pver>\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"