[104811] trunk/dports/devel/upower/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Apr 2 20:13:29 PDT 2013


Revision: 104811
          https://trac.macports.org/changeset/104811
Author:   jeremyhu at macports.org
Date:     2013-04-02 20:13:29 -0700 (Tue, 02 Apr 2013)
Log Message:
-----------
upower: Add support for gobject introspection

Modified Paths:
--------------
    trunk/dports/devel/upower/Portfile

Modified: trunk/dports/devel/upower/Portfile
===================================================================
--- trunk/dports/devel/upower/Portfile	2013-04-03 02:12:02 UTC (rev 104810)
+++ trunk/dports/devel/upower/Portfile	2013-04-03 03:13:29 UTC (rev 104811)
@@ -5,6 +5,7 @@
 
 name            upower
 version         0.9.20
+revision        1
 license         GPL-2+
 description     UPower is an abstraction for enumerating power devices, \
                 listening to device events and querying history and statistics.
@@ -30,15 +31,19 @@
                 port:gtk-doc
 
 depends_lib     port:dbus-glib \
+                port:gobject-introspection \
                 port:policykit
 
 patchfiles      patch-configure.diff \
                 patch-doc-man-Makefile.in.diff
 
 configure.args  --enable-deprecated \
-                --disable-introspection \
+                --enable-introspection \
                 --disable-silent-rules
 
+# gobject-introspection uses g-ir-scanner, which uses $CC from env
+build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
+
 livecheck.type  regex
 livecheck.url   ${master_sites}
 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130402/640a90c1/attachment.html>


More information about the macports-changes mailing list