pam-radius: skip pre-configure make clean via CLEANBROKEN

The shipped Makefile errors out

'You must run ./configure before make'

when Make.inc/src/config.h are missing, so the 'make clean' run by
autotools_preconfigure fails before configure has run.

Set CLEANBROKEN to skip that clean.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2026-06-24 23:34:00 +00:00
parent e04efc88e9
commit 456502c8a3
@@ -16,6 +16,11 @@ DEPENDS = "libpam"
inherit autotools-brokensep features_check
REQUIRED_DISTRO_FEATURES = "pam"
# The shipped Makefile errors out ("You must run './configure' before 'make'")
# when Make.inc/src/config.h are missing, so the "make clean" run by
# autotools_preconfigure fails before configure has run. Skip that clean.
CLEANBROKEN = "1"
EXTRA_OECONF = "--disable-developer"
do_install() {