# HG changeset patch # User Volker Grabsch # Date 1236262814 -3600 # Node ID 045b457ea6cdfb47794ccaff1678116102a8c1d5 # Parent b94424e6c37fd1689812861bc7969555a4fa6aa7 improved build rules for package wxwidgets diff -r b94424e6c37f -r 045b457ea6cd src/wxwidgets.mk --- a/src/wxwidgets.mk Mon Mar 02 06:00:03 2009 +0100 +++ b/src/wxwidgets.mk Thu Mar 05 15:20:14 2009 +0100 @@ -16,13 +16,18 @@ 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 @@ --without-cocoa \ --without-wine \ --without-pm \ - --without-mgl \ - --without-directfb \ --without-microwin \ - --without-x11 \ --without-libxpm \ --without-libmspack \ --without-gnomeprint \ @@ -55,5 +57,6 @@ 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