summaryrefslogtreecommitdiffstats
path: root/editors/vim
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 9b10083..eb4f659 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -127,6 +127,15 @@ MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x --enable-multibyte"
MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp --disable-rubyinterp"
.endif # LITE
+# Until the bsd.gnome.mk people fix their damned file
+.if defined(WITH_GTK)
+USE_XLIB= yes
+.endif
+.if defined(USE_XLIB)
+post-patch:
+ ${PERL} -pi.orig -e 's/ X11 //g' ${WRKSRC}/link.sh
+.endif
+
pre-build:
@(cd ${WRKSRC}; ${MAKE} distclean)
@${PERL} -pi -e 's,8\.2,8.3,' ${WRKSRC}/auto/configure
OpenPOWER on IntegriCloud