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

Log Message

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

Modified Paths

Diff

Modified: trunk/dports/gnome/libwnck3/Portfile (117418 => 117419)


--- trunk/dports/gnome/libwnck3/Portfile	2014-02-25 22:31:53 UTC (rev 117418)
+++ trunk/dports/gnome/libwnck3/Portfile	2014-02-25 23:02:47 UTC (rev 117419)
@@ -31,7 +31,8 @@
                 sha256  d48ac9c7f50c0d563097f63d07bcc83744c7d92a1b4ef65e5faeab32b5ccb723
 
 depends_build   port:pkgconfig \
-                port:intltool
+                port:intltool \
+                port:gnome-common
 
 depends_lib     port:startup-notification \
                 port:gobject-introspection \
@@ -41,6 +42,15 @@
 
 require_active_variants gtk3 x11
 
+# 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 \