* dh: Support --with addon,addon,...
Closes: #528178
+ * dh_auto_configure: Add --skipdeps when running Makefile.PL,
+ to prevent Module::Install from trying to download dependencies.
+ Closes: #528235
-- Joey Hess <joeyh@debian.org> Mon, 11 May 2009 14:50:33 -0400
# If set to a true value then MakeMaker's prompt function will
# # always return the default without waiting for user input.
$ENV{PERL_MM_USE_DEFAULT}=1;
- doit("perl", "Makefile.PL", "INSTALLDIRS=vendor", "create_packlist=0", @{$dh{U_PARAMS}});
+ doit("perl", "Makefile.PL", "INSTALLDIRS=vendor",
+ "create_packlist=0", "--skipdeps", @{$dh{U_PARAMS}});
}
elsif (-e "Build.PL") {
$ENV{PERL_MM_USE_DEFAULT}=1; # Module::Build can also use this.