GTK2 & Cairo "Quartz" Variant

Nathan Brazil nb at
Mon Mar 19 00:00:02 PDT 2007

Hi.  I noticed the following lines in GTK2's Portfile:

pre-configure {
     if {[variant_isset quartz]} {
         if { ![file exists ${prefix}/include/cairo/cairo-quartz.h] } {
             ui_msg "\nYou must first build cairo with the quartz  
variant enabled.  Please\nuninstall (or deactivate) the cairo port  
and reinstall by running:\n\n\"port install cairo +quartz\"\n"
             exit 1


variant quartz { configure.args-append --enable-gdktarget=quartz }

Does this mean if I enable the quartz variant, I can compile GTK  
applications w/o X11?

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the macports-users mailing list