From 8ac25937f6812e97dabd42f98c17a5348b5a4f47 Mon Sep 17 00:00:00 2001 From: jmmv Date: Tue, 25 Jan 2005 13:48:54 +0000 Subject: 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. --- editors/vim-share/Makefile.common | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'editors/vim-share/Makefile.common') 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 -- cgit v1.2.3