Ticket #17008: Portfile.diff
File Portfile.diff, 1.1 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago) |
---|
-
Portfile
old new 5 5 6 6 name gtk2 7 7 version 2.14.4 8 revision 1 8 9 set branch [join [lrange [split ${version} .] 0 1] .] 9 10 categories x11 10 11 maintainers nox openmaintainer … … 122 123 } 123 124 124 125 variant x11 conflicts quartz description {Enable rendering in X11 (default)} { 125 pre-fetch { 126 if {${os.platform} == "darwin" && [lindex [split ${os.version} .] 0] eq 9} { 127 if {![file exists /usr/X11/lib/libXrandr.2.0.0.dylib]} { 128 ui_error "Some libs are missing from your X11 installation. Please run this command:" 129 ui_error "sudo ln -s libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib" 130 error "missing /usr/X11/lib/libXrandr.2.0.0.dylib" 131 } 132 } 133 } 134 135 depends_lib-append lib:libXrender.1:xrender \ 136 lib:libX11.6:xorg \ 126 depends_lib-append port:xrender \ 127 lib:libX11:xorg \ 137 128 port:render 138 129 139 130 configure.args-append --x-includes=${x11prefix}/include \