From 39954aa92a7b5133b631bd359865a2c54e8d392e Mon Sep 17 00:00:00 2001 From: obrien Date: Thu, 15 Feb 2001 12:12:43 +0000 Subject: I shouldn't have been removing `gvim' from the non-GUI PLIST. Also make the gvim link relative rather than absolute, in case someone specifies a different prefix when installing the package. Note there are some burned in paths in the vim binary, but there is no reason to totally make this not work, when it could somewhat. --- editors/vim5/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'editors/vim5/Makefile') diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile index 0a838cf..b292cb8 100644 --- a/editors/vim5/Makefile +++ b/editors/vim5/Makefile @@ -67,17 +67,15 @@ MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp --enable-pythoninterp --enable-tc .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 + [ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -s vim gvim) @${RM} -f ${PREFIX}/man/man1/etags.1 @${MV} ${PREFIX}/man/man1/ctags.1 ${PREFIX}/man/man1/ectags.1 -- cgit v1.1