Nix <[EMAIL PROTECTED]> writes:

> How did this ever work?
Not sure myself either..

I'm also attaching a different patch that also fix the pkg-config call
to find the prefix, and removes an extra /usr.

I'm applying this in Gentoo's ebuild.

Index: pulseaudio-0.9.8/configure.ac
===================================================================
--- pulseaudio-0.9.8.orig/configure.ac
+++ pulseaudio-0.9.8/configure.ac
@@ -881,11 +881,11 @@ if test "x${polkit}" != xno ; then
         [
             HAVE_POLKIT=1
             saved_LIBS="$LIBS"
-            LIBS="$LIBS POLKIT_LIBS"
+            LIBS="$LIBS $POLKIT_LIBS"
             AC_CHECK_FUNCS(polkit_context_is_caller_authorized)
             LIBS="$saved_LIBS"
             AC_DEFINE([HAVE_POLKIT], 1, [Have PolicyKit])
-            policydir=`pkg-config --variable prefix`/usr/share/PolicyKit/policy/
+            policydir=`pkg-config polkit-dbus --variable prefix`/share/PolicyKit/policy/
             AC_SUBST(policydir)
         ],
         [
-- 
Diego "Flameeyes" Pettenò
http://farragut.flameeyes.is-a-geek.org/

Attachment: pgpSWHZGoZZsx.pgp
Description: PGP signature

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to