[104796] trunk/dports/gnome/libgsf/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Apr 2 14:14:43 PDT 2013


Revision: 104796
          https://trac.macports.org/changeset/104796
Author:   jeremyhu at macports.org
Date:     2013-04-02 14:14:43 -0700 (Tue, 02 Apr 2013)
Log Message:
-----------
libgsf: Enable support for gobject-introspection

Modified Paths:
--------------
    trunk/dports/gnome/libgsf/Portfile

Modified: trunk/dports/gnome/libgsf/Portfile
===================================================================
--- trunk/dports/gnome/libgsf/Portfile	2013-04-02 21:10:56 UTC (rev 104795)
+++ trunk/dports/gnome/libgsf/Portfile	2013-04-02 21:14:43 UTC (rev 104796)
@@ -5,6 +5,7 @@
 
 name                    libgsf
 version                 1.14.26
+revision                1
 license                 LGPL-2.1
 set branch              [join [lrange [split $version .] 0 1] .]
 maintainers             nomaintainer
@@ -31,6 +32,7 @@
                         port:intltool
 
 depends_lib             port:gettext \
+                        port:gobject-introspection \
                         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                         port:libxml2 \
                         port:gdk-pixbuf2 \
@@ -38,8 +40,11 @@
                         port:bzip2
 
 configure.env           INTLTOOL_PERL=${prefix}/bin/perl5.12
-configure.args          --enable-introspection=no
+configure.args          --enable-introspection
 
+# gobject-introspection uses g-ir-scanner, which uses $CC from env
+build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
+
 post-destroot {
     set docdir ${prefix}/share/doc/${name}
     xinstall -d ${destroot}${docdir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130402/ba68983c/attachment-0001.html>


More information about the macports-changes mailing list