On 2014-5-10 00:03 , Brandon Allbery wrote:
> On Fri, May 9, 2014 at 1:39 AM, Joshua Root <[email protected]
> <mailto:[email protected]>> 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
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to