Migration question and binary question
Joshua Root
jmr at macports.org
Sat May 10 12:20:46 PDT 2014
On 2014-5-10 00:03 , Brandon Allbery wrote:
> On Fri, May 9, 2014 at 1:39 AM, Joshua Root <jmr at macports.org
> <mailto:jmr at macports.org>> wrote:
>
> Handling variants of dependencies correctly is precisely why
> restore_ports.tcl exists. The lack of automatic preservation of the
> requested flag is an annoyance, certainly, but you can get around it by
> running this at the same time you generate myports.txt:
>
> port echo requested | cut -d ' ' -f 1 > requested.txt
>
> and this after you've run restore_ports.tcl and 'port unsetrequested
> installed':
>
> < requested.txt xargs port setrequested
>
>
> Isn't this backwards? That is, all ports would show as requested and you
> need to set unrequested the ports not in the original requested list?
That's what the 'port unsetrequested installed' is for. But sure, you
could save and restore a list of unrequested ports instead.
- Josh
More information about the macports-users
mailing list