diff --git a/x11/cairo/cairo.conf b/x11/cairo/cairo.conf index 8d955f42f..3643d7ef5 100644 --- a/x11/cairo/cairo.conf +++ b/x11/cairo/cairo.conf @@ -2,6 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../cairo/cairo.conf +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -16,3 +17,10 @@ pkginstalled glitz && var_append confopt ' ' "--enable-glitz" var_append confopt ' ' "--enable-ps" var_append confopt ' ' "--enable-pdf" #var_append confopt ' ' "--enable-atsui" # Mac OS X backend ? + +#Disable X11 binding if X11 not available +if ! pkginstalled libx11; then + var_append confopt ' ' "--enable-xlib=no" + var_append confopt ' ' "--enable-xlib-render=no" +fi +