summaryrefslogtreecommitdiffstats
path: root/editors/vim
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-02-25 06:47:38 +0000
committerobrien <obrien@FreeBSD.org>2002-02-25 06:47:38 +0000
commit6e537801cf58378acdbd0b59ff82090b1731ff69 (patch)
treee6e0fe0a4cdeee4dc94c4b0b55ac299ad02142fb /editors/vim
parent423d392d0248e86c257370cf446c88b0a728a0da (diff)
downloadFreeBSD-ports-6e537801cf58378acdbd0b59ff82090b1731ff69.zip
FreeBSD-ports-6e537801cf58378acdbd0b59ff82090b1731ff69.tar.gz
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 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