Revision
100853
Author
jeremyhu@macports.org
Date
2012-12-29 22:24:01 -0800 (Sat, 29 Dec 2012)

Log Message

py-pygtk: Fix build with current automake

Modified Paths

Added Paths

Diff

Modified: trunk/dports/python/py-pygtk/Portfile (100852 => 100853)


--- trunk/dports/python/py-pygtk/Portfile	2012-12-30 06:17:24 UTC (rev 100852)
+++ trunk/dports/python/py-pygtk/Portfile	2012-12-30 06:24:01 UTC (rev 100853)
@@ -47,7 +47,7 @@
                     port:py${python.version}-gobject \
                     port:py${python.version}-numpy
 
-    patchfiles      patch-gtk-quartz.diff
+    patchfiles      patch-gtk-quartz.diff patch-new-automake.diff
     use_autoreconf  yes 
     autoreconf.post_args        "-I m4"
 

Added: trunk/dports/python/py-pygtk/files/patch-new-automake.diff (0 => 100853)


--- trunk/dports/python/py-pygtk/files/patch-new-automake.diff	                        (rev 0)
+++ trunk/dports/python/py-pygtk/files/patch-new-automake.diff	2012-12-30 06:24:01 UTC (rev 100853)
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2012-12-29 19:51:35.000000000 -0800
++++ configure.ac	2012-12-29 22:19:29.000000000 -0800
+@@ -29,7 +29,7 @@ AC_DEFINE(PYGTK_MICRO_VERSION, pygtk_mic
+ AC_SUBST(PYGTK_MICRO_VERSION, pygtk_micro_version)
+ 
+ AC_CONFIG_SRCDIR([gtk/gtkmodule.c])
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS([config.h])
+ 
+ AM_INIT_AUTOMAKE
+ AC_CHECK_FUNCS(bind_textdomain_codeset)