--- Portfile.~1~	2016-09-02 22:30:05.000000000 -0400
+++ Portfile	2016-10-02 15:57:24.000000000 -0400
@@ -6,6 +6,7 @@
 
 name            claws-mail
 version         3.14.0
+revision        1
 categories      mail news
 platforms       darwin
 license         GPL-3+
@@ -48,7 +49,7 @@
                 port:enchant \
                 port:poppler \
                 port:ghostscript \
-                path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
+                path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk
 
 # claws uses gdk/gdkx.h, which is not installed by gtk2 +quartz.
 require_active_variants \
@@ -56,8 +57,8 @@
 
 platform darwin {
     if {${configure.cxx_stdlib} eq "libstdc++"} {
-       depends_lib-delete path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
-       depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk-2.0
+       depends_lib-delete path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk
+       depends_lib-append path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk-4.0
     }
 }
 
