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

jmr at macports.org jmr at macports.org
Tue Oct 7 23:20:10 PDT 2008


Revision: 40596
          http://trac.macports.org/changeset/40596
Author:   jmr at macports.org
Date:     2008-10-07 23:20:09 -0700 (Tue, 07 Oct 2008)
Log Message:
-----------
dbus: pull in X correctly

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

Modified: trunk/dports/devel/dbus/Portfile
===================================================================
--- trunk/dports/devel/dbus/Portfile	2008-10-08 06:11:13 UTC (rev 40595)
+++ trunk/dports/devel/dbus/Portfile	2008-10-08 06:20:09 UTC (rev 40596)
@@ -23,11 +23,14 @@
 
 depends_build   port:pkgconfig
 
-depends_lib     port:expat
+depends_lib     port:expat \
+                lib:libX11:XFree86
 
 configure.args  --disable-doxygen-docs \
                 --disable-xml-docs \
-                --with-x
+                --with-x \
+                --x-includes=${x11prefix}/include \
+                --x-libraries=${x11prefix}/lib
     
 configure.cflags-append -no-cpp-precomp -flat_namespace
 
@@ -81,6 +84,7 @@
 variant no_x11 description {disable X11 support} {
     configure.args-delete --with-x
     configure.args-append --without-x
+    depends_lib-delete    lib:libX11:XFree86
 }
 
 livecheck.check regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081007/b0938779/attachment.html 


More information about the macports-changes mailing list