Revision
104817
Author
jeremyhu@macports.org
Date
2013-04-02 20:45:57 -0700 (Tue, 02 Apr 2013)

Log Message

gucharmap: Enable support for gobject introspection

Modified Paths

Diff

Modified: trunk/dports/gnome/gucharmap/Portfile (104816 => 104817)


--- trunk/dports/gnome/gucharmap/Portfile	2013-04-03 03:43:46 UTC (rev 104816)
+++ trunk/dports/gnome/gucharmap/Portfile	2013-04-03 03:45:57 UTC (rev 104817)
@@ -5,7 +5,7 @@
 
 name		gucharmap
 version         2.30.3
-revision        5
+revision        6
 set branch      [join [lrange [split ${version} .] 0 1] .]
 description	gucharmap is a featureful unicode character map.
 long_description ${description}
@@ -26,6 +26,7 @@
                 port:gtk-doc
 
 depends_lib     port:gconf \
+                port:gobject-introspection \
                 port:rarian
 
 use_bzip2       yes
@@ -34,9 +35,12 @@
 
 configure.args	--disable-schemas-install \
                 --disable-scrollkeeper \
-                --disable-introspection \
+                --enable-introspection \
                 --enable-python-bindings
 
+# gobject-introspection uses g-ir-scanner, which uses $CC from env
+build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
+
 variant python25 conflicts python26 python27 description {Use python 2.5} {
     configure.python          ${prefix}/bin/python2.5
     depends_lib-append        port:py25-pygtk