r53216 - /trunk/dh-make-perl/lib/DhMakePerl.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Mon Feb 22 20:40:49 UTC 2010


Author: dmn
Date: Mon Feb 22 20:40:23 2010
New Revision: 53216

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53216
Log:
when M::B::C is detected, require (perl 5.10 or) libmodule-build-perl

Modified:
    trunk/dh-make-perl/lib/DhMakePerl.pm

Modified: trunk/dh-make-perl/lib/DhMakePerl.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl.pm?rev=53216&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Mon Feb 22 20:40:23 2010
@@ -2221,7 +2221,8 @@
         my $mf = $self->_file_r( $self->main_file('Makefile.PL') );
         while( defined( $_ = <$mf> ) ) {
             if ( /Module::Build::Compat/ ) {
-                $deps->add('debhelper (>= 7.0.17)');
+                $deps->add( 'debhelper (>= 7.0.17)',
+                    'perl (>= 5.10) | libmodule-build-perl' );
                 last;
             }
         }




More information about the Pkg-perl-cvs-commits mailing list