diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/dbus/Makefile | 4 | ||||
-rw-r--r-- | devel/dbus/files/patch-tools_run-with-tmp-session-bus.sh | 15 |
2 files changed, 11 insertions, 8 deletions
diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile index a79d85e3a469..ce0521c9bc59 100644 --- a/devel/dbus/Makefile +++ b/devel/dbus/Makefile @@ -14,14 +14,12 @@ MASTER_SITES= http://dbus.freedesktop.org/releases/ MAINTAINER?= gnome@FreeBSD.org COMMENT?= A message bus system for inter-application communication -BUILD_DEPENDS?= bash:${PORTSDIR}/shells/bash LIB_DEPENDS?= expat.6:${PORTSDIR}/textproc/expat2 USE_GNOME?= gnomehack glib20 libxml2 USE_GMAKE= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes -USE_REINPLACE= yes CONFIGURE_ARGS?=--disable-gtk \ --disable-python \ --disable-gcj \ @@ -60,8 +58,6 @@ PLIST_SUB+= QT="@comment " .endif post-patch: - @${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 diff --git a/devel/dbus/files/patch-tools_run-with-tmp-session-bus.sh b/devel/dbus/files/patch-tools_run-with-tmp-session-bus.sh index ab5d6bc38a44..064503a1aaa0 100644 --- a/devel/dbus/files/patch-tools_run-with-tmp-session-bus.sh +++ b/devel/dbus/files/patch-tools_run-with-tmp-session-bus.sh @@ -1,8 +1,15 @@ ---- tools/run-with-tmp-session-bus.sh.orig Sat Apr 2 14:52:51 2005 -+++ tools/run-with-tmp-session-bus.sh Sat Apr 2 14:53:05 2005 -@@ -1,4 +1,4 @@ +--- tools/run-with-tmp-session-bus.sh.orig Fri Mar 18 02:48:29 2005 ++++ tools/run-with-tmp-session-bus.sh Tue Apr 4 20:40:12 2006 +@@ -1,10 +1,10 @@ -#! /bin/bash -+#! %%LOCALBASE%%/bin/bash ++#! /bin/sh SCRIPTNAME=$0 WRAPPED_SCRIPT=$1 + shift + +-function die() ++die() + { + if ! test -z "$DBUS_SESSION_BUS_PID" ; then + echo "killing message bus "$DBUS_SESSION_BUS_PID >&2 |