Opened 9 years ago

Closed 9 years ago

#48618 closed defect (fixed)

Wiki WebPage on "How to install an older version of a port" are slightly wrong or incomplete.

Reported by: peshola@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: wiki Version:
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (2)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portswiki
Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Version: 2.3.3

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.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.