Teach dbus to look for session files in both PREFIX and X11BASE.
Requested by: mezz
This commit is contained in:
parent
7b8e75b563
commit
9a339b97ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136956
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= dbus
|
||||
PORTVERSION= 0.33
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES?= devel gnome
|
||||
MASTER_SITES= http://dbus.freedesktop.org/releases/
|
||||
|
||||
@ -63,6 +64,8 @@ post-patch:
|
||||
${FILESDIR}/dbus.sh > ${WRKSRC}/dbus.sh
|
||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
||||
${WRKSRC}/tools/run-with-tmp-session-bus.sh
|
||||
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|' \
|
||||
${WRKSRC}/bus/session.conf.in
|
||||
|
||||
post-install:
|
||||
.if !defined(PACKAGE_BUILDING)
|
||||
|
10
devel/dbus/files/patch-bus_session.conf.in
Normal file
10
devel/dbus/files/patch-bus_session.conf.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- bus/session.conf.in.orig Mon Jun 6 22:18:31 2005
|
||||
+++ bus/session.conf.in Mon Jun 6 22:31:35 2005
|
||||
@@ -11,6 +11,7 @@
|
||||
<listen>unix:tmpdir=@DBUS_SESSION_SOCKET_DIR@</listen>
|
||||
|
||||
<servicedir>@EXPANDED_DATADIR@/dbus-1/services</servicedir>
|
||||
+ <servicedir>%%X11BASE%%/share/dbus-1/services</servicedir>
|
||||
|
||||
<policy context="default">
|
||||
<!-- Allow everything to be sent -->
|
Loading…
Reference in New Issue
Block a user