Revision
117389
Author
devans@macports.org
Date
2014-02-24 16:52:30 -0800 (Mon, 24 Feb 2014)

Log Message

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

Modified Paths

Diff

Modified: trunk/dports/gnome/libgnomekbd/Portfile (117388 => 117389)


--- trunk/dports/gnome/libgnomekbd/Portfile	2014-02-24 23:19:35 UTC (rev 117388)
+++ trunk/dports/gnome/libgnomekbd/Portfile	2014-02-25 00:52:30 UTC (rev 117389)
@@ -24,13 +24,23 @@
                     sha256  c41ea5b0f64da470925ba09f9f1b46b26b82d4e433e594b2c71eab3da8856a09
 
 depends_build       port:pkgconfig \
-                    port:intltool
+                    port:intltool \
+                    port:gnome-common
 
 depends_lib         port:desktop-file-utils \
                     port:gtk3 \
                     port:libxklavier \
                     port:gobject-introspection
 
+# 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      --enable-introspection \
                     --without-x \
                     --disable-schemas-compile \