aboutsummaryrefslogtreecommitdiffstats
path: root/editors/vim
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-02-25 14:47:38 +0800
committerobrien <obrien@FreeBSD.org>2002-02-25 14:47:38 +0800
commit6e537801cf58378acdbd0b59ff82090b1731ff69 (patch)
treee6e0fe0a4cdeee4dc94c4b0b55ac299ad02142fb /editors/vim
parent423d392d0248e86c257370cf446c88b0a728a0da (diff)
downloadfreebsd-ports-graphics-6e537801cf58378acdbd0b59ff82090b1731ff69.tar.gz
freebsd-ports-graphics-6e537801cf58378acdbd0b59ff82090b1731ff69.tar.zst
freebsd-ports-graphics-6e537801cf58378acdbd0b59ff82090b1731ff69.zip
Make USE_GTK work properly on 5-CURRENT.
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 9b10083df55..eb4f659793f 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