Ticket #14592: gtk2-leopard.diff

File gtk2-leopard.diff, 756 bytes (added by afb@…, 16 years ago)
  • Portfile

     
    9898    depends_build-append    port:cups-headers
    9999}
    100100
     101platform darwin 9 {
     102    pre-fetch {
     103        if {[variant_isset x11] && ![file exists /usr/X11/lib/libXrandr.2.0.0.dylib]} {
     104        ui_error "Some libs are missing from your X11 installation. Please run this command:"
     105        ui_msg "sudo ln -s libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib"
     106        error "missing /usr/X11/lib/libXrandr.2.0.0.dylib"
     107        }
     108    }
     109}
     110
    101111variant quartz conflicts x11 description {Enable Quartz rendering} {
    102112    pre-fetch {
    103113        if {![file exists ${prefix}/include/cairo/cairo-quartz.h]} {