ryandesign at macports.org
Wed Dec 12 09:28:17 PST 2012
On Dec 12, 2012, at 07:00, Rainer Müller <raimue at macports.org> wrote:
> On 2012-12-11 20:44, Ryan Schmidt wrote:
>> On Dec 11, 2012, at 11:35, raimue at macports.org wrote:
>>> Revision: 100423
>>> Author: raimue at macports.org
>>> Date: 2012-12-11 09:35:51 -0800 (Tue, 11 Dec 2012)
>>> Log Message:
>>> Add new command line parameter --unrequested to the install command. This way
>>> one can install a port without marking it as requested.
>> Ooh, that's nice. I might even want to do that all the time (using a shell alias) and manually use "sudo port setrequested" when I actually want to keep a port. I install a lot of ports to test them, not because I really want to keep them around afterward.
> My use case is that I want to install port foo, but during the
> installation of dependencies I encounter an issue with port bar. So I go
> on fixing this port until a 'port install bar' succeeds. But then it is
> marked as requested and I have to run 'port unsetrequested bar' to
> remove the requested state from the registry.
Yes that's pretty common for me too.
> With this change, I will now use 'port install --unrequested bar' in the
> step of fixing port bar and then the port is properly marked as being
> installed as a dependency.
I'll probably have trouble re-training myself to do that :)
More information about the macports-dev