From 434625ce78e7ff050f8c949e189a3b3aae79ee5d Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 11 Nov 2000 05:23:54 +0000 Subject: [PATCH] Go ahead and install the `gvim' links, otherwise the `vim-lite' port does not deinstall properly. A `vim-lite' port user will be told that graphical support was not compiled in if they try to run `gvim', so no harm done. PR: 19539 Submitted by: Ying-Chieh Chen --- editors/vim5/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/editors/vim5/Makefile b/editors/vim5/Makefile index bdfb3d442da9..22a01606219e 100644 --- a/editors/vim5/Makefile +++ b/editors/vim5/Makefile @@ -44,12 +44,11 @@ ALL_TARGET= # PLIST_SUB= VIM_VER=${DISTNAME:S/-//:S/.//} MAN1= vim.1 vimtutor.1 xxd.1 ectags.1 MLINKS= vim.1 rvim.1 vim.1 rview.1 ectags.1 etags.1 +MLINKS+= vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1 .include .if !defined(LITE) -MLINKS+= vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1 - MAKE_ARGS+= X_LIBS=-lxpg4 CONF_OPT_MAX="--enable-max-features" .if defined(WITH_GTK) @@ -77,9 +76,7 @@ pre-build: @${SED} -e '/gvi/d' ${PKGDIR}/pkg-plist > ${WRKDIR}/PLIST.nogui post-install: -.if !defined(LITE) [ -e ${PREFIX}/bin/gvim ] || ${LN} -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim -.endif @${RM} -f ${PREFIX}/man/man1/etags.1 @${MV} ${PREFIX}/man/man1/ctags.1 ${PREFIX}/man/man1/ectags.1