tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Weird version comparison results



I need a depedency on IPC::Cmd 0.46, which is included from Perl 5.10.1 onwards.

So I used
DEPENDS+=       perl>=5.10.1,p5-IPC-Cmd>=0.46:../../devel/p5-IPC-Cmd
but that started to build p5-IPC-Cmd despite having perl 5.10.1nb1 installed.

$ pkg_admin pmatch "perl>=5.10.1" "perl-5.10.1" && echo TRUE || echo FALSE
TRUE
$ pkg_admin pmatch "perl>=5.10.0,p5-IPC-Cmd>=0.46" "perl-5.10.1" && echo TRUE 
|| echo FALSE
TRUE
$ pkg_admin pmatch "perl>=5.10.1,p5-IPC-Cmd>=0.46" "perl-5.10.1" && echo TRUE 
|| echo FALSE
FALSE

What am I doing wrong?


Home | Main Index | Thread Index | Old Index