Wrong Bash dependency in devel/dbus
Jean-Baptiste Quenot
jbq at caraldi.com
Tue Apr 4 09:37:12 UTC 2006
Dear dbus maintainer,
It seems like there is a wrong dependency on bash in devel/dbus:
BUILD_DEPENDS?= bash:${PORTSDIR}/shells/bash
That means bash anywhere in the PATH is OK, but it must be found
under /usr/local/bin. On my system /bin/bash is a link to
/bin/sh.
But the best would be to remove the dependency completely, please
find the patch attached.
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
-------------- next part --------------
diff -ru dbus.orig/Makefile dbus/Makefile
--- dbus.orig/Makefile Thu Mar 16 00:14:27 2006
+++ dbus/Makefile Tue Apr 4 11:36:03 2006
@@ -14,7 +14,6 @@
MAINTAINER?= gnome at 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
diff -ru dbus.orig/files/patch-tools_run-with-tmp-session-bus.sh dbus/files/patch-tools_run-with-tmp-session-bus.sh
--- dbus.orig/files/patch-tools_run-with-tmp-session-bus.sh Tue Apr 4 11:27:56 2006
+++ dbus/files/patch-tools_run-with-tmp-session-bus.sh Tue Apr 4 11:30:27 2006
@@ -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 Thu Mar 17 18:48:29 2005
++++ tools/run-with-tmp-session-bus.sh Tue Apr 4 11:29:40 2006
+@@ -1,10 +1,10 @@
-#! /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
More information about the freebsd-gnome
mailing list