[104818] trunk/dports/security/policykit/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Apr 2 21:03:28 PDT 2013


Revision: 104818
          https://trac.macports.org/changeset/104818
Author:   jeremyhu at macports.org
Date:     2013-04-02 21:03:28 -0700 (Tue, 02 Apr 2013)
Log Message:
-----------
policykit: Add support for gobject introspection

Modified Paths:
--------------
    trunk/dports/security/policykit/Portfile

Modified: trunk/dports/security/policykit/Portfile
===================================================================
--- trunk/dports/security/policykit/Portfile	2013-04-03 03:45:57 UTC (rev 104817)
+++ trunk/dports/security/policykit/Portfile	2013-04-03 04:03:28 UTC (rev 104818)
@@ -5,6 +5,7 @@
 
 name            policykit
 version         0.104
+revision        1
 description     PolicyKit is an application-level toolkit for defining and \
                 handling the policy that allows unprivileged processes to \
                 speak to privileged processes
@@ -45,7 +46,7 @@
                 --with-pam-prefix=/etc/pam.d \
                 --with-pam-module-dir=/usr/lib/pam \
                 --enable-systemd=no \
-                --disable-introspection \
+                --enable-introspection \
                 --disable-silent-rules \
                 --enable-man-pages \
                 --disable-gtk-doc
@@ -54,8 +55,12 @@
                 port:intltool \
                 port:gnome-doc-utils
 
-depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2
+depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                port:gobject-introspection \
 
+# gobject-introspection uses g-ir-scanner, which uses $CC from env
+build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
+
 destroot.keepdirs \
                 ${destroot}${prefix}/etc/polkit-1/localauthority \
                 ${destroot}${prefix}/var/lib/polkit-1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130402/c06e3077/attachment.html>


More information about the macports-changes mailing list