[45210] trunk/dports/devel/dbus/Portfile

illogic-al at macports.org illogic-al at macports.org
Sat Jan 10 16:46:47 PST 2009


Revision: 45210
          http://trac.macports.org/changeset/45210
Author:   illogic-al at macports.org
Date:     2009-01-10 16:46:47 -0800 (Sat, 10 Jan 2009)
Log Message:
-----------
Remove x11 session support in dbus except on Panther.

Modified Paths:
--------------
    trunk/dports/devel/dbus/Portfile

Modified: trunk/dports/devel/dbus/Portfile
===================================================================
--- trunk/dports/devel/dbus/Portfile	2009-01-10 22:52:24 UTC (rev 45209)
+++ trunk/dports/devel/dbus/Portfile	2009-01-11 00:46:47 UTC (rev 45210)
@@ -5,6 +5,7 @@
 
 name            dbus
 version         1.2.12
+revision        1
 maintainers     nomaintainer
 categories      devel
 platforms       darwin
@@ -26,20 +27,28 @@
 
 depends_build   port:pkgconfig
 
-depends_lib     port:expat \
-                lib:libX11:xorg-libX11
+depends_lib     port:expat
 
 configure.args  --disable-doxygen-docs \
                 --disable-xml-docs \
-                --with-x \
+                --without-x \
                 --enable-launchd
     
 configure.cflags-append -no-cpp-precomp
 
+platform darwin 7 {
+    patchfiles              patch-dbus-launch-x11.c.diff \
+                            patch-dbus-sysdeps-util-unix.c.diff
+
+    depends_lib-append      lib:libX11:xorg-libX11
+
+    configure.args-delete   --without-x \
+                            --enable-launchd
+    configure.args-append   --with-x
+}
+
 use_parallel_build  yes
 
-default_variants    +no_x11
-
 test.run        yes
 test.target     check
 
@@ -92,11 +101,5 @@
     configure.args-append   --enable-tests
 }
 
-variant no_x11 {
-    configure.args-delete --with-x
-    configure.args-append --without-x
-    depends_lib-delete    lib:libX11:xorg-libX11
-}
-
 livecheck.check regex
 livecheck.regex {D-Bus (\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090110/a062325c/attachment.html>


More information about the macports-changes mailing list