diff mbox series

[meta-oe,3/6] botan: Make it reproducible

Message ID 20240816061915.2095711-3-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/6] fvwm: Fix buildpaths QA Errors | expand

Commit Message

Khem Raj Aug. 16, 2024, 6:19 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-crypto/botan/botan_3.5.0.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-crypto/botan/botan_3.5.0.bb b/meta-oe/recipes-crypto/botan/botan_3.5.0.bb
index d0e9d3e109..3a40680a45 100644
--- a/meta-oe/recipes-crypto/botan/botan_3.5.0.bb
+++ b/meta-oe/recipes-crypto/botan/botan_3.5.0.bb
@@ -18,8 +18,8 @@  CPU:armv7ve = "armv7"
 
 do_configure() {
 	python3 ${S}/configure.py \
-	--prefix="${D}${exec_prefix}" \
-	--libdir="${D}${libdir}" \
+	--prefix="${exec_prefix}" \
+	--libdir="${libdir}" \
 	--cpu="${CPU}" \
 	--cc-bin="${CXX}" \
 	--cxxflags="${CXXFLAGS}" \
@@ -39,8 +39,8 @@  do_compile() {
 	oe_runmake
 }
 do_install() {
-	oe_runmake install
-	sed -i -e "s|${D}||g" ${D}${libdir}/pkgconfig/botan-3.pc
+	oe_runmake DESTDIR=${D} install
+	sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${D}${includedir}/botan-3/botan/build.h
 }
 
 PACKAGES += "${PN}-python3"