]> 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)
committerSteve Sakoman <steve@sakoman.com>
Wed, 11 Sep 2024 12:03:48 +0000 (05:03 -0700)
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>
(cherry picked from commit 918e2b266eba6779f19f65349f85caa880ba45e7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/libedit/libedit_20210910-3.1.bb

index 5aa83ef246f4fb37cb80ec9ecea25b08bc012592..0f501eb7a49a8c3239043d87a576e1745f0630c6 100644 (file)
@@ -15,6 +15,13 @@ SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \
           "
 SRC_URI[sha256sum] = "6792a6a992050762edcca28ff3318cdb7de37dccf7bc30db59fcd7017eed13c5"
 
+# 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"
 
 inherit update-alternatives