Date: Sat, 9 Dec 2000 18:07:57 +0200 From: Peter Pentchev <roam@orbitel.bg> To: David O'Brien <obrien@FreeBSD.org> Cc: Chris Faulhaber <jedgar@fxp.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/editors/vim5 Makefile Message-ID: <20001209180757.A79232@ringworld.oblivion.bg> In-Reply-To: <20001208023655.B47304@dragon.nuxi.com>; from obrien@FreeBSD.org on Fri, Dec 08, 2000 at 02:36:55AM -0800 References: <200012051725.eB5HPjj79491@freefall.freebsd.org> <20001206160002.B17399@ringworld.oblivion.bg> <20001206090207.A93425@peitho.fxp.org> <20001206162155.C17399@ringworld.oblivion.bg> <20001208023655.B47304@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 08, 2000 at 02:36:55AM -0800, David O'Brien wrote: > On Wed, Dec 06, 2000 at 04:21:55PM +0200, Peter Pentchev wrote: > > > > Is there a way to build vim5 without any GUI whatsoever? > > > ports/editors/vim-lite > > vim-lite seems to be missing too many features besides GUI support :( > > Send a patch. ;-) Is the attached one acceptable? Along with checking for NO_GUI, it also removes the PLIST.nogui magic - the gvim-related files are installed anyway, and the PLIST.nogui subst only causes an incorrect plist and whines from pkg_delete. Even the first post_extract command in the Makefile (which fortuitiously got included in this diff's context ;) checks for and creates the bin/gvim symlink, which the PLIST.nogui specifically unreferences :) I have not actually tested the Motif GUI case - downloading OpenMotif over a 33.6 modem is not quite my idea of fun ;) But the Athena toolkit build works fine, and so does the vim-lite build. G'luck, Peter -- If I had finished this sentence, Index: ports/editors/vim5/Makefile =================================================================== RCS file: /home/ncvs/ports/editors/vim5/Makefile,v retrieving revision 1.93 diff -u -r1.93 Makefile --- ports/editors/vim5/Makefile 2000/12/05 17:25:44 1.93 +++ ports/editors/vim5/Makefile 2000/12/09 15:51:27 @@ -52,6 +52,7 @@ MAKE_ARGS+= X_LIBS=-lxpg4 CONF_OPT_MAX="--enable-max-features" I18N= CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-multibyte --enable-xim" +.if !defined(NO_GUI) .if defined(WITH_ATHENA) MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=athena" ${I18N} #MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=yes" ${I18N} @@ -62,20 +63,18 @@ USE_MOTIF= yes MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=motif --with-motif-lib=\"${MOTIFLIB}\"" MOTIFHOME=${X11BASE} ${I18N} .endif +.else # NO_GUI +MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x" +.endif # NO_GUI .if defined(PACKAGE_BUILDING) MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tclinterp --enable-cscope" .endif .else # LITE -PLIST= ${WRKDIR}/PLIST.nogui MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=no --without-x" MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp" .endif # LITE - -pre-build: - @(cd ${WRKSRC}; ${MAKE} distclean) - @${SED} -e '/gvi/d' ${PKGDIR}/pkg-plist > ${WRKDIR}/PLIST.nogui post-install: [ -e ${PREFIX}/bin/gvim ] || ${LN} -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001209180757.A79232>