]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libedit: Make docs generation deterministic
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Sep 2024 21:50:27 +0000 (22:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Sep 2024 10:56:34 +0000 (11:56 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/libedit/libedit_20240808-3.1.bb

index 932e5a1485a19568430d2d6776530cb2ea1dcd86..bf6ec8ebd3cf1b770c913f14f43bb12c2752a54f 100644 (file)
@@ -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"