[48945] trunk/dports/lang/spidermonkey/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Apr 2 17:25:08 PDT 2009


On Apr 2, 2009, at 10:35, Frank Schima wrote:

> On Apr 2, 2009, at 2:34 AM, Ryan Schmidt wrote:
>
>> Once epoch has been added to a port, you can never remove it or
>> decrease it. I added it back in in r49041.
>
> I didn't know that. Thanks for letting me know and for fixing it!

The order of precedence is:

epoch (default 0)
version
revision (default 0)

So if you have a port at version 1.0, the number MacPorts uses for  
comparison is really something like 0_1.0_0.

In the case of the spidermonkey port:

>>> @@ -5,8 +5,7 @@
>>>
>>> name                spidermonkey
>>> version             1.7.0
>>> -revision            1
>>> -epoch               1
>>> +revision            2
>>> categories          lang
>>> platforms           darwin
>>> maintainers         akitada openmaintainer

the number was 1_1.7.0_1, and you changed it to 0_1.7.0_2. Since the  
first 0 in your new number is less than the 1 at the start of the old  
number, "port outdated" would not think the port was outdated.



More information about the macports-dev mailing list