diff src/gtkglext.mk @ 967:9c41979b7f21

replace the $(SED) hacks with proper patches in package gtkglext
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 14 May 2010 10:53:25 +0200
parents 7834f9cb6042
children 446515393768
line wrap: on
line diff
--- a/src/gtkglext.mk	Fri May 14 09:48:10 2010 +0200
+++ b/src/gtkglext.mk	Fri May 14 10:53:25 2010 +0200
@@ -21,19 +21,16 @@
 endef
 
 define $(PKG)_BUILD
-    # wine confuses the cross-compiling detection, so set it explicitly
-    $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
-    # don't require x backend for pango
-    $(SED) -i 's,pangox >= 1.0.0,,' '$(1)/configure'
+    cd '$(1)' && autoconf
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
         --prefix='$(PREFIX)/$(TARGET)' \
         --disable-shared \
         --without-x \
+        --with-gdktarget=win32 \
         --disable-gtk-doc \
         --disable-man \
         --disable-glibtest
-    $(SED) -i 's, glib-mkenums, $$(GLIB_MKENUMS),' '$(1)/gdk/Makefile'
     $(MAKE) -C '$(1)' -j '$(JOBS)' install \
         bin_PROGRAMS= \
         sbin_PROGRAMS= \