port install efficiency issue
Joshua Root
jmr at macports.org
Sun Mar 22 17:21:42 PDT 2009
Daniel J. Luke wrote:
> On Mar 22, 2009, at 9:34 AM, Rainer Müller wrote:
>> Ryan Schmidt wrote:
>>>> I think port not only pays attention to epoch/version/revision but
>>>> also the
>>>> timestamp of Portfile; when Portfile is newer than the install,
>>>> even when
>>>> the versioning says it's already installed, it'll run again.
>>>
>>> I would not have expected that.
>>>
>>> If a rebuild is needed, the maintainer needs to increase the
>>> revision, version, or epoch.
>>
>> I reported this problem earlier:
>> http://lists.macosforge.org/pipermail/macports-dev/2008-February/004563.html
>>
>>
>> If nobody can think of a valid use for this check we should just drop it.
>
>
> It is somewhat useful when one is developing a new port (since you don't
> have to remember to clean before you rebuild after changing the
> Portfile), and there's the -o flag one can use to change the behavior.
>
> I don't have a problem with removing the feature, though.
We don't have to remove the feature entirely, just turn it off for
action_install when the current version(+epoch/revision/variants) of the
port is already installed (as opposed to being mid-build).
- Josh
More information about the macports-users
mailing list