Revision: 104818 https://trac.macports.org/changeset/104818 Author: jeremyhu@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