[100423] trunk/base/src/port

Rainer Müller raimue at macports.org
Wed Dec 12 05:00:20 PST 2012


On 2012-12-11 20:44, Ryan Schmidt wrote:
> 
> On Dec 11, 2012, at 11:35, raimue at macports.org wrote:
> 
>> Revision: 100423
>>          https://trac.macports.org/changeset/100423
>> Author:   raimue at macports.org
>> Date:     2012-12-11 09:35:51 -0800 (Tue, 11 Dec 2012)
>> Log Message:
>> -----------
>> port:
>> 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.

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.

Rainer


More information about the macports-dev mailing list