port reclaim exclude build dependencies

Bill Cole macportsusers-20171215 at billmail.scconsult.com
Tue Jan 22 06:38:04 UTC 2019


On 21 Jan 2019, at 10:34, Jonathan Stickel wrote:

> The `reclaim` command of port is a great idea. However, it has a 
> serious limitation, at least for me. When checking for leaves, it does 
> not consider build dependencies, which I like to keep (rather than 
> reinstalling every time they are needed). Therefore I cannot let it 
> uninstall leaves. Fortunately, I can still use port_cutleaves for this 
> purpose, using the `-b` option. As far as I can tell, such an option 
> does not exist for port reclaim. Is there sufficient interest to 
> (re-)open a ticket requesting this feature? I found this one that is 
> basically the same as what I am requesting:
>
> https://trac.macports.org/ticket/57180
>
> It was closed with `worksforme`, suggesting that the submitter should 
> use `setrequested` for his build dependencies. I would rather not do 
> that because build dependencies can change as ports evolve.

-1

1. You can just say no. Really. It's easy.
2. You can exercise judgment in doing a 'port setrequested' for some 
common dependency ports that you know you will always want (e.g. 
autoconf, boost, ncurses, etc.) and avoid having to save no regularly.



-- 
Bill Cole
bill at scconsult.com or billcole at apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Available For Hire: https://linkedin.com/in/billcole


More information about the macports-users mailing list