r53439 - /trunk/dh-make-perl/lib/DhMakePerl.pm
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Sun Feb 28 22:14:57 UTC 2010
Author: dmn
Date: Sun Feb 28 22:14:50 2010
New Revision: 53439
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53439
Log:
makefile_pl_is_MBC improve the check for M::B::C
now we check if M::B::C seems to be used in Makefile.PL, i.e. not in a comment
or a string
still not perfect (which is perhas possible only with
Module::Depends::Intrusive), but yet better than before
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=53439&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Sun Feb 28 22:14:50 2010
@@ -2392,7 +2392,7 @@
my $fh = $self->_file_r($mf);
while( defined( $_ = <$fh> ) ) {
- if ( /Module::Build::Compat/ ) {
+ if ( /^[^#"]*Module::Build::Compat/ ) {
return 1;
}
}
More information about the Pkg-perl-cvs-commits
mailing list