#37876 closed defect (invalid)
perl5 1.0 portgroup: incorrectly sets version for p5-devel-nytprof
Reported by: | larryv (Lawrence Velázquez) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: |
Description
p5-devel-nytprof
declares its version as “4.06” for perl5.setup
, but perl5_convert_version
is converting this to “4.60.0”.
Change History (4)
comment:1 follow-up: 2 Changed 12 years ago by jmroot (Joshua Root)
comment:2 Changed 12 years ago by larryv (Lawrence Velázquez)
Maybe I’m misunderstanding what the intention is? It seems weird that the “06” is becoming “60”.
comment:3 follow-up: 4 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → invalid |
---|---|
Status: | new → closed |
% perl -Mversion -le '$v=version->new(4.06)->normal; print $v' v4.60.0
4.06 == 4.060; 060 == 60
comment:4 Changed 12 years ago by larryv (Lawrence Velázquez)
Replying to jmr@…:
4.06 == 4.060; 060 == 60
Ergh. I guess I just don’t understand Perl versioning. Sorry for the noise.
Note: See
TracTickets for help on using
tickets.
How is that incorrect?