]> git.vpit.fr Git - perl/modules/CPANPLUS-Dist-Gentoo.git/blobdiff - lib/CPANPLUS/Dist/Gentoo.pm
Fix case of equality in version requirement
[perl/modules/CPANPLUS-Dist-Gentoo.git] / lib / CPANPLUS / Dist / Gentoo.pm
index 3d46f868d1aa0035a73e074ffb3926dd5af5a5fe..67d58324a0ae72e717fc8f083e700d03f6c7ec83 100644 (file)
@@ -465,7 +465,7 @@ sub _cpan2portage {
      my ($eb_ver) = /\Q$atom\E-v?([\d._pr-]+).*?\.ebuild$/;
      return ">=$category/$atom-$ver"
             if  defined $eb_ver
-            and CPANPLUS::Dist::Gentoo::Maps::version_gcmp($eb_ver, $ver) > 0;
+            and CPANPLUS::Dist::Gentoo::Maps::version_gcmp($eb_ver, $ver) >= 0;
     }
    } else {
     return "$category/$atom";