From 0f005eb7246bc3126d1728fea95cd0ff06ddae19 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Thu, 5 Mar 2009 15:20:14 +0100 Subject: improved build rules for package wxwidgets --- src/wxwidgets.mk | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/wxwidgets.mk b/src/wxwidgets.mk index fdeef34..3209f78 100644 --- a/src/wxwidgets.mk +++ b/src/wxwidgets.mk @@ -16,13 +16,18 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD + $(SED) 's,wx_cv_cflags_mthread=yes,wx_cv_cflags_mthread=no,' -i '$(1)/configure' cd '$(1)' && ./configure \ --host='$(TARGET)' \ --disable-shared \ --prefix='$(PREFIX)/$(TARGET)' \ --enable-compat24 \ + --enable-compat26 \ + --enable-gui \ --enable-stl \ + --enable-threads \ --enable-unicode \ + --disable-universal \ --with-themes=all \ --with-msw \ --with-opengl \ @@ -40,10 +45,7 @@ define $(PKG)_BUILD --without-cocoa \ --without-wine \ --without-pm \ - --without-mgl \ - --without-directfb \ --without-microwin \ - --without-x11 \ --without-libxpm \ --without-libmspack \ --without-gnomeprint \ @@ -55,5 +57,6 @@ define $(PKG)_BUILD CXXFLAGS="-I$(PREFIX)/$(TARGET)/include/tre" \ LIBS=" `$(TARGET)-pkg-config tre --libs`" $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= - $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= + $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= __install_wxrc___depname= + install -m755 '$(PREFIX)/$(TARGET)/bin/wx-config' '$(PREFIX)/bin/$(TARGET)-wx-config' endef -- cgit v0.12