Fix build of matchbox-keyboard and matchbox-wm
authorDarius Augulis <augulis.darius@gmail.com>
Thu, 29 Apr 2010 19:50:46 +0000 (22:50 +0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 1 May 2010 20:11:41 +0000 (22:11 +0200)
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 <augulis.darius@gmail.com>
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/matchbox/matchbox-keyboard/matchbox-keyboard.mk
package/matchbox/matchbox-wm/matchbox-wm.mk

index 7c6d4557ffb6c9faa64d13f4a4698042fbf79360..3d7178d14242ec5ac92a5d3f8e5ccf347b4336e5 100644 (file)
@@ -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/
index fbf3456e7a218cb8e22cdc91be1c16e61a32a56a..0334d0f0c1747736282ecce362c4b72e567a577e 100644 (file)
@@ -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)