changeset 5533:1abfa0b8d306

mingw::gtk+: debootstrap build fix.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Fri, 21 Aug 2009 14:09:12 +0200
parents ca7ec8a2d0b5
children 0c0d7d8e05d6
files gub/specs/gtk+.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/gtk+.py	Fri Aug 21 13:20:01 2009 +0200
+++ b/gub/specs/gtk+.py	Fri Aug 21 14:09:12 2009 +0200
@@ -33,6 +33,12 @@
         # program linked against glib; so it needs LD_LIBRARY_PATH (or
         # a configure-time-only -Wl,-rpath, -Wl,%(system_prefix)s/lib
         return '-Wl,-rpath -Wl,%(system_prefix)s/lib %(rpath)s'
+    def patch (self):
+        target.AutoBuild.patch (self)
+        self.file_sub ([
+                (' demos ', ' '), # actually, we'd need tools::gtk+
+                (' tests ', ' '),
+                ], '%(srcdir)s/Makefile.in')
     def configure_command (self):
         return (' export gio_can_sniff=yes; '
                 + target.AutoBuild.configure_command (self)