From 96890edbb562c77b5bad96654fa2a4c1bdc9ca44 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 19 Mar 2022 01:40:16 -0700 Subject: [PATCH] libgphoto: Fix build with libtool 2.4.7 Delete old m4 macros, so autoreconf can repopulate it. Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.27.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.27.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.27.bb index cb289751ea..41600be2e1 100644 --- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.27.bb +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.27.bb @@ -25,6 +25,11 @@ PACKAGECONFIG ??= "" PACKAGECONFIG[gd] = ",--without-gdlib,gd" PACKAGECONFIG[serial] = "--enable-serial,--disable-serial,lockdev" +do_configure:prepend() { + rm -rf ${S}/libgphoto2_port/auto-m4/* + rm -rf ${S}/auto-m4/* +} + do_configure:append() { cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/libgphoto2_port/po/ cd ${S}/libgphoto2_port/