Ticket #38083: gtk3-active_variants.diff
File gtk3-active_variants.diff, 1.4 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Portfile
100 100 } 101 101 102 102 platform darwin 8 { 103 if {[variant_isset quartz] || [variant_isset no_x11]} {103 if {[variant_isset quartz] || ![variant_isset x11]} { 104 104 configure.ldflags-append -framework Cocoa -framework Carbon 105 105 } 106 106 } … … 192 192 configure.cc "${configure.cc} ${configure.cc_archflags}" 193 193 } 194 194 195 variant no_x11 {} 195 variant quartz conflicts x11 { 196 require_active_variants cairo quartz 197 require_active_variants pango quartz 196 198 197 variant quartz requires no_x11 conflicts x11 {198 199 configure.args-append --enable-quartz-backend 199 require_active_variants cairo quartz200 require_active_variants pango {} x11201 200 } 202 201 203 variant x11 conflicts quartz description {Enable rendering in X11} { 202 variant x11 conflicts quartz no_x11 { 203 require_active_variants cairo x11 204 require_active_variants pango x11 205 204 206 depends_lib-append \ 205 207 port:xorg-libXi \ 206 208 port:xorg-libXrandr \ … … 213 215 214 216 configure.args-append --enable-xinerama \ 215 217 --x-include=${prefix}/include --x-lib=${prefix}/lib 216 217 require_active_variants cairo x11 no_x11218 218 } 219 219 220 variant no_x11 conflicts x11 description {Legacy compatibility variant} {} 220 221 221 222 livecheck.type regex 222 223 livecheck.url ftp://ftp.gnome.org/pub/gnome/sources/${real_name}/cache.json