From 6e537801cf58378acdbd0b59ff82090b1731ff69 Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 25 Feb 2002 06:47:38 +0000 Subject: Make USE_GTK work properly on 5-CURRENT. --- editors/vim/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'editors/vim') 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 -- cgit v1.1