diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-02-25 06:47:38 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-02-25 06:47:38 +0000 |
commit | da9a3bfffb308626e7b907ae1ea63e83aa4d77f7 (patch) | |
tree | 597b8647e1f22d930773f6599233d744cf2f128f /editors/vim | |
parent | Remove dead MASTER_SITES entry (diff) |
Make USE_GTK work properly on 5-CURRENT.
Diffstat (limited to 'editors/vim')
-rw-r--r-- | editors/vim/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 9b10083df55c..eb4f659793ff 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 |