--- Portfile.orig	2008-10-07 12:44:26.000000000 -0700
+++ Portfile	2008-10-07 12:47:07.000000000 -0700
@@ -5,6 +5,7 @@
 
 name            dbus
 version         1.2.4
+revision        1
 maintainers     nomaintainer
 categories      devel
 platforms       darwin
@@ -26,7 +27,7 @@
 
 configure.args  --disable-doxygen-docs \
                 --disable-xml-docs \
-                --without-x
+                --with-x
     
 configure.cflags-append -no-cpp-precomp -flat_namespace
 
@@ -73,10 +74,15 @@
     system "dbus-uuidgen --ensure"
 }
 
-variant test {
+variant test description {enable tests} {
     configure.args-append   --enable-tests
 }
 
+variant no_x11 description {disable X11 support} {
+    configure.args-delete --with-x
+    configure.args-append --without-x
+}
+
 livecheck.check regex
 livecheck.regex {D-Bus (\d+(?:\.\d+)*)}
 

