r53214 - /trunk/dh-make-perl/lib/DhMakePerl.pm
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Mon Feb 22 20:24:55 UTC 2010
Author: dmn
Date: Mon Feb 22 20:24:11 2010
New Revision: 53214
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53214
Log:
require debhelper 7.0.17 of Makefile.PL is generated by Module::Build::Compat
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=53214&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Mon Feb 22 20:24:11 2010
@@ -2214,6 +2214,18 @@
$deps->add('debhelper (>= 7.4.4)')
if /dh.* --max-parallel/;
}
+
+ if ( -e $self->main_file('Makefile.PL')
+ and -e $self->main_file('Build.PL') )
+ {
+ my $mf = $self->_file_r( $self->main_file('Makefile.PL') );
+ while( defined( $_ = <$mf> ) ) {
+ if ( /Module::Build::Compat/ ) {
+ $deps->add('debhelper (>= 7.0.17)');
+ last;
+ }
+ }
+ }
}
sub _warn_incomplete_copyright {
More information about the Pkg-perl-cvs-commits
mailing list