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 <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj
2026-06-24 23:38:53 +00:00
parent 456502c8a3
commit 7153beeccb
@@ -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"