[MacPorts] #48618: Wiki WebPage on "How to install an older version of a port" are slightly wrong or incomplete.

MacPorts noreply at macports.org
Tue Aug 18 21:48:30 PDT 2015


#48618: Wiki WebPage on "How to install an older version of a port" are slightly
wrong or incomplete.
------------------------+--------------------------
  Reporter:  peshola@…  |      Owner:  ryandesign@…
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  wiki       |    Version:
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------------
Changes (by ryandesign@…):

 * status:  new => assigned
 * owner:  macports-tickets@… => ryandesign@…
 * version:  2.3.3 =>
 * component:  ports => wiki


Old description:

> URL is https://trac.macports.org/wiki/howto/InstallingOlderPort
>
> The instructions don't work quite right.  sudo port install works quite
> fine with the Portfile for boost 1.58.
>
> However, the syntax sudo port install -no_single  doesn't work. The
> instructions are not quite useful if I'm stuck with the default option of
> +no_single.  I'm trying to install boost 1.58, because boost 1.59 doesn't
> work right.

New description:

 URL is wiki:howto/InstallingOlderPort

 The instructions don't work quite right.  sudo port install works quite
 fine with the Portfile for boost 1.58.

 However, the syntax sudo port install -no_single  doesn't work. The
 instructions are not quite useful if I'm stuck with the default option of
 +no_single.  I'm trying to install boost 1.58, because boost 1.59 doesn't
 work right.

--

Comment:

 The wiki:howto/InstallingOlderPort page is accurate as far as it goes, but
 you're right, it does not really talk about variants.

 Enabling a variant works normally, the problem only occurs when trying to
 disable a variant that's on by default.

 The solution is to include the argument "`--`" before the variants:

 {{{
 sudo port install -- -no_single
 }}}

 Anyone can edit the wiki, but I'm working on rewriting the wiki page now
 and will incorporate this information. Thanks for pointing out this
 deficiency.

-- 
Ticket URL: <https://trac.macports.org/ticket/48618#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list