From 918e2b266eba6779f19f65349f85caa880ba45e7 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 9 Sep 2024 22:50:27 +0100 Subject: [PATCH] libedit: Make docs generation deterministic The presence or lack of nroff on the host was changing the doc type. Stop the code from looking at host paths outside HOSTTOOLS and hence cause the doc type to be deterministic and reproducible. Signed-off-by: Richard Purdie --- meta/recipes-devtools/libedit/libedit_20240808-3.1.bb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta/recipes-devtools/libedit/libedit_20240808-3.1.bb b/meta/recipes-devtools/libedit/libedit_20240808-3.1.bb index 932e5a1485a..bf6ec8ebd3c 100644 --- a/meta/recipes-devtools/libedit/libedit_20240808-3.1.bb +++ b/meta/recipes-devtools/libedit/libedit_20240808-3.1.bb @@ -15,4 +15,11 @@ SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \ " SRC_URI[sha256sum] = "5f0573349d77c4a48967191cdd6634dd7aa5f6398c6a57fe037cc02696d6099f" +# configure hardcodes /usr/bin search path bypassing HOSTTOOLS +CACHED_CONFIGUREVARS += "ac_cv_path_NROFF=/bin/false" + +# remove at next version upgrade or when output changes +PR = "r1" +HASHEQUIV_HASH_VERSION .= ".1" + BBCLASSEXTEND = "native nativesdk" -- 2.47.2