[133368] trunk/dports/perl

Mojca Miklavec mojca at macports.org
Sat Feb 28 04:36:48 PST 2015


On Sat, Feb 28, 2015 at 5:31 AM, Ryan Schmidt wrote:
>> On Feb 27, 2015, at 5:08 PM, devans at macports.org wrote:
>>
>> +perl5.setup         File-Find-Object v0.2.12
>
> This will cause the installed version to be "v0.2.12". We would want the installed version to be "0.2.12", without any preceding "v". To do this, you would probably change the version in the perl5.setup line to "0.2.12", and then change the distname later in the portfile.

This is not the only such example. My (outdated) tree shows other examples like:

p5-file-countlines/Portfile:perl5.setup         File-CountLines v0.0.3
p5-test-compile/Portfile:perl5.setup         Test-Compile v1.2.1
p5-time-mock/Portfile:perl5.setup         Time-Mock v0.0.2

(and the list is probably not complete).

Mojca


More information about the macports-dev mailing list