aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2008-03-25 23:07:01 +0800
committerahze <ahze@FreeBSD.org>2008-03-25 23:07:01 +0800
commit4d1d251130510e96ab445c73cbc90930cfc8aabd (patch)
tree851a9b138c16863d14e7170430b2b2df90acd787 /audio
parent48efa060e15370672d4b39bd7a883d36293eff57 (diff)
downloadfreebsd-ports-gnome-4d1d251130510e96ab445c73cbc90930cfc8aabd.tar.gz
freebsd-ports-gnome-4d1d251130510e96ab445c73cbc90930cfc8aabd.tar.zst
freebsd-ports-gnome-4d1d251130510e96ab445c73cbc90930cfc8aabd.zip
Fix plist
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%%