Subject: Re: Alternatives system for pkgsrc
To: Alan Barrett <apb@cequrux.com>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-pkg
Date: 01/20/2005 14:11:05
On Thu, 2005-01-20 at 14:53 +0200, Alan Barrett wrote:

> You could have an "nvi-as-vi" package which depends on the nvi package
> and installs a symlink, and a "vim-as-vi" package which depends on
> the vim package and installs a symlink. nvi-as-vi and vim-as-vi would
> conflict with each other.  Yoo would switch between the two via
> something like "pkg_delete nvi-as-vi ; pkg_add vim-as-vi".

Yeah, but I think that's abusing packages, although it could work.
However you can't decide which one to use on a host basis (if you
share /usr/pkg) ;)

-- 
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/