Revision
117431
Author
devans@macports.org
Date
2014-02-25 22:48:19 -0800 (Tue, 25 Feb 2014)

Log Message

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

Modified Paths

Diff

Modified: trunk/dports/gnome/yelp/Portfile (117430 => 117431)


--- trunk/dports/gnome/yelp/Portfile	2014-02-26 06:32:30 UTC (rev 117430)
+++ trunk/dports/gnome/yelp/Portfile	2014-02-26 06:48:19 UTC (rev 117431)
@@ -29,7 +29,8 @@
 
 depends_build   port:pkgconfig \
                 port:intltool \
-                port:itstool
+                port:itstool \
+                port:gnome-common
 
 depends_lib     port:desktop-file-utils \
                 port:gnome-icon-theme \
@@ -49,6 +50,15 @@
 depends_run     port:gnome-user-docs \
                 port:gnome-settings-daemon
 
+# 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 \
                 --disable-schemas-compile \