[meta-oe,1/3] libgphoto: Fix build with libtool 2.4.7

Message ID 20220319084442.425475-1-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/3] libgphoto: Fix build with libtool 2.4.7 | expand

Commit Message

Khem Raj March 19, 2022, 8:44 a.m. UTC
Delete old m4 macros, so autoreconf can repopulate it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.27.bb | 5 +++++
 1 file changed, 5 insertions(+)

Patch

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/