From f6db87726d84976275cfe6b74a9e270f6bf6792e Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Tue, 17 May 2016 09:10:20 -0700 Subject: x11vnc: remove old libtool macros from acinclude.m4 These can cause build problems. We only want macros in acinclude.m4 which aren't available for aclocal to get elsewhere. Signed-off-by: Christopher Larson Signed-off-by: Martin Jansa --- meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-oe/recipes-graphics/x11vnc') diff --git a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb index 7e92965cc2..64c8a5d5d2 100644 --- a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb +++ b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb @@ -24,3 +24,9 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', PACKAGECONFIG[avahi] = "--with-avahi,--without-avahi,avahi" PACKAGECONFIG[xinerama] = "--with-xinerama,--without-xinerama,libxinerama" PACKAGECONFIG[libvncserver] = "--with-system-libvncserver,--without-system-libvncserver,libvncserver" + +do_prepare_sources () { + # Remove old libtool macros from acinclude.m4 + sed -i -e '/^# libtool.m4/q' acinclude.m4 +} +do_patch[postfuncs] += "do_prepare_sources" -- cgit 1.2.3-korg