r56294 - /trunk/dh-make-perl/lib/DhMakePerl/Utils.pm
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Sat Apr 17 12:41:20 UTC 2010
Author: dmn
Date: Sat Apr 17 12:41:10 2010
New Revision: 56294
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=56294
Log:
fix perl dependency discovery
Modified:
trunk/dh-make-perl/lib/DhMakePerl/Utils.pm
Modified: trunk/dh-make-perl/lib/DhMakePerl/Utils.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl/Utils.pm?rev=56294&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl/Utils.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl/Utils.pm Sat Apr 17 12:41:10 2010
@@ -172,6 +172,12 @@
sub find_core_perl_dependency {
my ( $module, $version ) = @_;
+ if ( $module eq 'perl' ) {
+ return Debian::Dependency->new('perl') unless $version;
+
+ return Debian::Dependency->new( 'perl', nice_perl_ver($version) );
+ }
+
my $perl_dep;
my @perl_releases = core_module_perls( $module, $version );
More information about the Pkg-perl-cvs-commits
mailing list