Revision
117318
Author
devans@macports.org
Date
2014-02-21 16:03:43 -0800 (Fri, 21 Feb 2014)

Log Message

glib-networking: replace in-tree intltool.m4 with our version, autoreconf to correct intltool configuration.

Modified Paths

Diff

Modified: trunk/dports/gnome/glib-networking/Portfile (117317 => 117318)


--- trunk/dports/gnome/glib-networking/Portfile	2014-02-21 23:37:19 UTC (rev 117317)
+++ trunk/dports/gnome/glib-networking/Portfile	2014-02-22 00:03:43 UTC (rev 117318)
@@ -31,16 +31,25 @@
 
 depends_run     path:share/curl/curl-ca-bundle.crt:curl-ca-bundle
 
+post-patch {
+    reinplace "s|-Werror=|-W|g" ${worksrcpath}/configure.ac
+}
+
+# update m4/intltool.m4 and autoreconf
+
+pre-configure {
+    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+}
+
+use_autoreconf  yes
+autoreconf.args -fvi
+
 configure.args  --with-gnutls \
                 --with-libproxy \
                 --with-gnome-proxy \
                 --with-ca-certificates=${prefix}/share/curl/curl-ca-bundle.crt \
                 --disable-silent-rules
 
-post-patch {
-    reinplace "s|-Werror=|-W|g" ${worksrcpath}/configure
-}
-
 post-activate {
     system "${prefix}/bin/gio-querymodules ${prefix}/lib/gio/modules"
 }