I'm on Snow Leopard, macports 2.0.3.
I'm trying to avoid x11, which is why I edited /opt/local/etc/macports/variants.conf to have +no_x11 +quartz .
The kate installation is failing at py27-gtk. For some reason it's still looking for x11 version of libs. First it complained about libgtk-x11-2.0.la being missing. So I symlinked libgtk-quartz-2.0.la (as described in https://trac.macports.org/ticket/22331). Now it's complaining about libXinerama.la .
I ran
grep libXinerama.la -r /opt/local/lib
and it turned up /opt/local/lib/libglade-2.0.la . This file belongs to libglade2, which is a dependency of py27-gtk, and which macports 2.0 installs from a pre-built archive (rather than building it on my machine). This libglade2 doesn't have the quartz variant, and is built with x11 "baked in". This is obvious from the output of
otool -L /opt/local/lib/libglade-2.0.0.0.7.dylib
Any suggestions? Could I force macports to build libglade2 locally without x11?
EDIT: Submitted a bug ticket: https://trac.macports.org/ticket/31303