--- Portfile.orig	2013-08-04 11:00:22.000000000 -0700
+++ Portfile	2013-08-07 21:09:22.000000000 -0700
@@ -190,6 +190,9 @@
 # see bug #24622
 variant quartz {
     configure.args-append --with-target=quartz
+    
+    # Quick-fix for X11 dependencies in the webkit code, see bug #39898
+    depends_lib-append    port:xorg-libX11
 
     # TODO: See if this will build with OpenGL.framework
     configure.args-delete --enable-webgl
