Revision
117311
Author
devans@macports.org
Date
2014-02-21 14:40:43 -0800 (Fri, 21 Feb 2014)

Log Message

gcr: explicitly enable vala support, depend on vala, replace in-tree intltool.m4 with our version, autoreconf to correct intltool configuration, increment revision.

Modified Paths

Diff

Modified: trunk/dports/gnome/gcr/Portfile (117310 => 117311)


--- trunk/dports/gnome/gcr/Portfile	2014-02-21 21:31:10 UTC (rev 117310)
+++ trunk/dports/gnome/gcr/Portfile	2014-02-21 22:40:43 UTC (rev 117311)
@@ -5,7 +5,7 @@
 
 name            gcr
 version         3.10.1
-revision        1
+revision        2
 license         LGPL-2
 set branch      [join [lrange [split ${version} .] 0 1] .]
 description     GCR is a library for displaying certificates, and crypto UI, accessing \
@@ -36,14 +36,25 @@
                 port:gobject-introspection \
                 port:p11-kit \
                 port:libgcrypt \
-                port:gnupg
+                port:gnupg \
+                port:vala
 
 patchfiles      patch-egg-egg-asn1x.h.diff \
                 patch-egg-egg-armor.c.diff \
                 patch-ui-gcr.pc.in.diff \
                 patch-ui-gcr-ui.pc.in.diff
 
+# update build/m4/intltool.m4 and autoreconf
+
+pre-configure {
+    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/build/m4
+}
+
+use_autoreconf  yes
+autoreconf.args -fvi
+
 configure.args  --enable-introspection=yes \
+                --enable-vala=yes \
                 --disable-schemas-compile \
                 --disable-update-mime \
                 --disable-update-icon-cache \