Revision
117421
Author
devans@macports.org
Date
2014-02-25 15:16:33 -0800 (Tue, 25 Feb 2014)

Log Message

libwnck: replace in-tree intltool.m4 with our version, autoreconf to correct intltool configuration, build deps.

Modified Paths

Diff

Modified: trunk/dports/gnome/libwnck/Portfile (117420 => 117421)


--- trunk/dports/gnome/libwnck/Portfile	2014-02-25 23:10:17 UTC (rev 117420)
+++ trunk/dports/gnome/libwnck/Portfile	2014-02-25 23:16:33 UTC (rev 117421)
@@ -26,7 +26,8 @@
 
 depends_build   port:pkgconfig \
                 port:intltool \
-                port:gnome-doc-utils
+                port:gnome-doc-utils \
+                port:gnome-common
 
 depends_lib     port:startup-notification \
                 port:gobject-introspection \
@@ -40,6 +41,15 @@
     }
 }
 
+# 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  --x-includes=${prefix}/include \
                 --x-libraries=${prefix}/lib \
                 --enable-introspection \