Ticket #14305: again.diff
File again.diff, 1.2 KB (added by shreevatsa.public@…, 17 years ago) |
---|
-
Portfile
old new 24 24 ftp://ftp.gtk.org/pub/gtk/v${branch}/ \ 25 25 http://ftp.gtk.org/pub/gtk/v${branch}/ 26 26 27 if {[variant_isset no_x11]} { 28 default_variants +quartz 29 } 30 27 31 if {![variant_isset quartz]} { 28 32 default_variants +x11 29 33 } … … 96 100 depends_build-append port:cups-headers 97 101 } 98 102 99 variant quartz conflicts x11 description {Enable Quartz rendering} { 103 variant no_x11 description {Same as +quartz} { 104 pre-fetch { 105 if {[file exists ${prefix}/lib/libpangox-1.0.dylib]} { 106 ui_error "Please uninstall or deactivate the pango port and reinstall it by running `port install pango +no_x11`." 107 error "pango must be installed with the no_x11 variant enabled." 108 } 109 } 110 } 111 112 variant quartz requires no_x11 conflicts x11 description {Enable Quartz rendering} { 100 113 pre-fetch { 101 114 if {![file exists ${prefix}/include/cairo/cairo-quartz.h]} { 102 115 ui_error "Please uninstall or deactivate the cairo port and reinstall it by running `port install cairo +quartz`."