aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2008-03-25 15:07:01 +0000
committerMichael Johnson <ahze@FreeBSD.org>2008-03-25 15:07:01 +0000
commit17b5082f2bde733d16dfa57101754bc43aee4682 (patch)
tree6109092033f864b860a1dd3c2750934161c7e1de /audio
parent00448fb24ee2ffedbafdc5f87aa24ab18dea6a97 (diff)
downloadports-17b5082f2bde733d16dfa57101754bc43aee4682.tar.gz
ports-17b5082f2bde733d16dfa57101754bc43aee4682.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/pulseaudio/Makefile2
-rw-r--r--audio/pulseaudio/pkg-plist1
2 files changed, 3 insertions, 0 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index 2c9a9e288032..807fe790e379 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -81,6 +81,8 @@ PLIST_SUB+= GCONF="@comment "
.endif
post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/share/PolicyKit/policy/|${PREFIX}/share/PolicyKit/policy/|' \
+ ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/src/daemon/default.pa.in
.if ${OSVERSION} < 700042
diff --git a/audio/pulseaudio/pkg-plist b/audio/pulseaudio/pkg-plist
index 2b0c9e9b924a..2178b8d2d092 100644
--- a/audio/pulseaudio/pkg-plist
+++ b/audio/pulseaudio/pkg-plist
@@ -136,6 +136,7 @@ libdata/pkgconfig/libpulse-mainloop-glib.pc
libdata/pkgconfig/libpulse-simple.pc
libdata/pkgconfig/libpulse.pc
%%GCONF%%libexec/pulse/gconf-helper
+%%HAL%%share/PolicyKit/policy/PulseAudio.policy
%%GCONF%%@dirrm libexec/pulse
@dirrm lib/pulse-%%PULSE_VERSION%%/modules
@dirrm lib/pulse-%%PULSE_VERSION%%