summaryrefslogtreecommitdiff
path: root/editors/vim-share/Makefile.common
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-01-25 13:48:54 +0000
committerjmmv <jmmv@pkgsrc.org>2005-01-25 13:48:54 +0000
commit8ac25937f6812e97dabd42f98c17a5348b5a4f47 (patch)
treeaaa39859b6bce82067e8655dcd913473462a2836 /editors/vim-share/Makefile.common
parentbc7c9c26aba00bff48098f5714ea0cc05b2b2c01 (diff)
downloadpkgsrc-8ac25937f6812e97dabd42f98c17a5348b5a4f47.tar.gz
Make nvi and vim* use the alternatives system to install wrappers for
bin/vi, bin/ex and bin/view. Bump their PKGREVISIONs. vim-kde is an exception because it currently installs programs with these names. So, as it's currently marked as vulnerable and as I don't have KDE installed ATM, I'm marking it as conflicting.
Diffstat (limited to 'editors/vim-share/Makefile.common')
-rw-r--r--editors/vim-share/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/vim-share/Makefile.common b/editors/vim-share/Makefile.common
index 42bb1912641..319d4c2fb3b 100644
--- a/editors/vim-share/Makefile.common
+++ b/editors/vim-share/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.39 2005/01/06 20:38:06 adrianp Exp $
+# $NetBSD: Makefile.common,v 1.40 2005/01/25 13:48:54 jmmv Exp $
VIM_VERSION= 6.3
VIM_PATCHLEVEL= 045
@@ -38,3 +38,9 @@ PATCH_DIST_ARGS= -d ${WRKDIR}/vim63 --forward --quiet \
-E ${PATCH_DIST_STRIP}
PATCHDIR?= ${.CURDIR}/../vim-share/patches
DISTINFO_FILE?= ${.CURDIR}/../vim-share/distinfo
+
+.if empty(PKGNAME:Mvim-share*)
+ALTERNATIVES_SRC= ${.CURDIR}/../../editors/vim-share/ALTERNATIVES
+.else
+ALTERNATIVES_SRC=
+.endif