Subject: Re: Alternatives system for pkgsrc
To: Alan Barrett <>
From: Julio M. Merino Vidal <>
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 <>
The NetBSD Project -