[43579] trunk/dports/graphics/cairo/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Thu Dec 11 22:53:27 PST 2008
Revision: 43579
http://trac.macports.org/changeset/43579
Author: jeremyhu at macports.org
Date: 2008-12-11 22:53:15 -0800 (Thu, 11 Dec 2008)
Log Message:
-----------
cairo: Cairo fixes pertaining to bug #17558. Eliminated use of --x-includes and --x-libraries. Added x11_xcb variant.
Modified Paths:
--------------
trunk/dports/graphics/cairo/Portfile
Modified: trunk/dports/graphics/cairo/Portfile
===================================================================
--- trunk/dports/graphics/cairo/Portfile 2008-12-12 05:51:29 UTC (rev 43578)
+++ trunk/dports/graphics/cairo/Portfile 2008-12-12 06:53:15 UTC (rev 43579)
@@ -50,8 +50,6 @@
# The +universal variant is written in such a way that the port's global
# configure.args must not be empty!
configure.args \
- --x-includes=${x11prefix}/include \
- --x-libraries=${x11prefix}/lib \
--disable-glitz \
--disable-quartz \
--disable-quartz-font \
@@ -75,12 +73,10 @@
--enable-glitz
}
-variant no_x11 conflicts glitz description {Omit X11 support} {
+variant no_x11 conflicts glitz x11_xcb description {Omit X11 support} {
depends_lib-delete \
port:xrender
configure.args-delete \
- --x-includes=${x11prefix}/include \
- --x-libraries=${x11prefix}/lib \
--enable-xlib \
--enable-xlib-xrender \
--with-x
@@ -90,6 +86,12 @@
--without-x
}
+variant x11_xcb conflicts no_x11 {Use libxcb for X11 protocol communication} {
+ configure.args-delete --disable-xcb
+ configure.args-append --enable-xcb
+ depends_lib.append lib:libxcb.1:xorg-libxcb
+}
+
platform macosx {
pre-fetch {
if {${os.major} == 8} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081211/15983fa5/attachment.html>
More information about the macports-changes
mailing list