On 2016-07-03, Tinker <ti...@openmailbox.org> wrote:
> At least on 5.8, neither -z nor -I do it, and those are the only 
> arguments that give any hint of containing such a feature 
> (http://man.openbsd.org/OpenBSD-current/man1/pkg_add.1).

For 5.8-5.9 something like "pkg_add -z squid-3.5.99" is likely to work.

There is specific handling for this in -current, see pkg_add(1):

   There is also an ambiguity related to ports with multiple branches.  For
   instance `pkg_add python' is ambiguous, as there are several versions of
   python in the ports tree.  So is `pkg_add postfix'.  The special form
   `pkgname%branch' can be used to restrict matches to a branch matching the
   pkgpath(7).

Reply via email to