aboutsummaryrefslogtreecommitdiff
path: root/devel/dbus
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2008-04-05 16:45:06 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2008-04-05 16:45:06 +0000
commita8668d4893e1f7a33fc923c06af8e7dbb309f055 (patch)
tree30693bc691ef48196fbd681ac8ce6de769b58bb3 /devel/dbus
parentedb8b81619d98203e253ec7a67f4d978aef1cf05 (diff)
downloadports-a8668d4893e1f7a33fc923c06af8e7dbb309f055.tar.gz
ports-a8668d4893e1f7a33fc923c06af8e7dbb309f055.zip
Notes
Diffstat (limited to 'devel/dbus')
-rw-r--r--devel/dbus/Makefile2
-rw-r--r--devel/dbus/files/patch-tools_dbus-launch.c12
2 files changed, 14 insertions, 0 deletions
diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile
index 92de3079975b..1cda3592a78c 100644
--- a/devel/dbus/Makefile
+++ b/devel/dbus/Makefile
@@ -42,6 +42,8 @@ MAN1= dbus-cleanup-sockets.1 dbus-daemon.1 dbus-launch.1 \
.if !defined(WITHOUT_X11)
USE_XLIB= yes
+.else
+CONFIGURE_ARGS+=--without-x
.endif
.endif
diff --git a/devel/dbus/files/patch-tools_dbus-launch.c b/devel/dbus/files/patch-tools_dbus-launch.c
new file mode 100644
index 000000000000..1fdf886ad042
--- /dev/null
+++ b/devel/dbus/files/patch-tools_dbus-launch.c
@@ -0,0 +1,12 @@
+--- tools/dbus-launch.c.orig 2008-04-05 11:34:21.000000000 -0500
++++ tools/dbus-launch.c 2008-04-05 11:36:12.000000000 -0500
+@@ -966,7 +966,9 @@
+ char write_pid_fd_as_string[MAX_FD_LEN];
+ char write_address_fd_as_string[MAX_FD_LEN];
+
++#ifdef DBUS_BUILD_X11
+ xdisplay = NULL;
++#endif
+
+ if (close_stderr)
+ do_close_stderr ();