--- Portfile.orig	2008-10-28 10:53:38.000000000 -0400
+++ Portfile	2008-10-28 12:54:22.000000000 -0400
@@ -5,6 +5,7 @@
 
 name            gtk2
 version         2.14.4
+revision        1
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      x11
 maintainers     nox openmaintainer
@@ -122,18 +123,8 @@
 }
 
 variant x11 conflicts quartz description {Enable rendering in X11 (default)} {
-    pre-fetch {
-        if {${os.platform} == "darwin" && [lindex [split ${os.version} .] 0] eq 9} {
-            if {![file exists /usr/X11/lib/libXrandr.2.0.0.dylib]} {
-                ui_error "Some libs are missing from your X11 installation. Please run this command:"
-                ui_error "sudo ln -s libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib"
-                error "missing /usr/X11/lib/libXrandr.2.0.0.dylib"
-            }
-        }
-    }
-
-    depends_lib-append  lib:libXrender.1:xrender \
-                        lib:libX11.6:xorg \
+    depends_lib-append  port:xrender \
+                        lib:libX11:xorg \
                         port:render
 
     configure.args-append       --x-includes=${x11prefix}/include \

