From: Darius Augulis Date: Thu, 29 Apr 2010 19:50:46 +0000 (+0300) Subject: Fix build of matchbox-keyboard and matchbox-wm X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b64a031badac927368209a7455965d97f3fb015b;p=buildroot.git Fix build of matchbox-keyboard and matchbox-wm These packages have buggy configure script. It adds -L/lib flag for linker and thus wrong libraries are linked in. Workaround this issue by setting expat=yes in configure environment. Signed-off-by: Darius Augulis Signed-off-by: Paulius Zaleckas Signed-off-by: Peter Korsgaard --- diff --git a/package/matchbox/matchbox-keyboard/matchbox-keyboard.mk b/package/matchbox/matchbox-keyboard/matchbox-keyboard.mk index 7c6d4557ff..3d7178d142 100644 --- a/package/matchbox/matchbox-keyboard/matchbox-keyboard.mk +++ b/package/matchbox/matchbox-keyboard/matchbox-keyboard.mk @@ -8,7 +8,9 @@ MATCHBOX_KEYBOARD_VERSION = 0.1 MATCHBOX_KEYBOARD_SOURCE = matchbox-keyboard-$(MATCHBOX_KEYBOARD_VERSION).tar.bz2 MATCHBOX_KEYBOARD_SITE = http://matchbox-project.org/sources/matchbox-keyboard/$(MATCHBOX_KEYBOARD_VERSION) MATCHBOX_KEYBOARD_DEPENDENCIES = matchbox-lib matchbox-fakekey -MATCHBOX_KEYBOARD_CONF_OPT = --enable-expat + +# Workaround bug in configure script +MATCHBOX_KEYBOARD_CONF_ENV = expat=yes define MATCHBOX_KEYBOARD_POST_INSTALL_FIXES cp -dpf ./package/matchbox/matchbox-keyboard/mb-applet-kbd-wrapper.sh $(TARGET_DIR)/usr/bin/ diff --git a/package/matchbox/matchbox-wm/matchbox-wm.mk b/package/matchbox/matchbox-wm/matchbox-wm.mk index fbf3456e7a..0334d0f0c1 100644 --- a/package/matchbox/matchbox-wm/matchbox-wm.mk +++ b/package/matchbox/matchbox-wm/matchbox-wm.mk @@ -10,6 +10,9 @@ MATCHBOX_WM_SITE = http://matchbox-project.org/sources/matchbox-window-manager/$ MATCHBOX_WM_DEPENDENCIES = matchbox-lib MATCHBOX_WM_CONF_OPT = --enable-expat +# Workaround bug in configure script +MATCHBOX_WM_CONF_ENV = expat=yes + ############################################################# ifeq ($(BR2_PACKAGE_X11R7_LIBXCOMPOSITE),y)