From 9ae36f125b9bef160bd7106f871a63eada61db98 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 15 Aug 2024 15:58:53 -0700 Subject: botan: Make it reproducible Signed-off-by: Khem Raj Signed-off-by: Armin Kuster --- meta-oe/recipes-crypto/botan/botan_3.2.0.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-oe/recipes-crypto/botan/botan_3.2.0.bb b/meta-oe/recipes-crypto/botan/botan_3.2.0.bb index 5eff2d383e..1fdda65a05 100644 --- a/meta-oe/recipes-crypto/botan/botan_3.2.0.bb +++ b/meta-oe/recipes-crypto/botan/botan_3.2.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}||g' ${D}${includedir}/botan-3/botan/build.h } PACKAGES += "${PN}-python3" -- cgit v1.2.3-54-g00ecf