Browse Source

cairo: enhanced cairo to build without X11 if X11 is not available

early
Nagy Karoly Gabriel 16 years ago committed by Alejandro Mery
parent
commit
96a6d5f940
  1. 8
      x11/cairo/cairo.conf

8
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

Loading…
Cancel
Save