]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_auto_configure: Add --skipdeps when running Makefile.PL, to prevent Module::Instal...
authorJoey Hess <joey@gnu.kitenet.net>
Mon, 11 May 2009 18:59:03 +0000 (14:59 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Mon, 11 May 2009 18:59:03 +0000 (14:59 -0400)
debian/changelog
dh_auto_configure

index 22bc55bae115e90507b84f25d1deeb46246310cb..1f5cff0bc51dccbf666d211570affa75068f9293 100644 (file)
@@ -2,6 +2,9 @@ debhelper (7.2.11) UNRELEASED; urgency=low
 
   * 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
 
index 2dc3eb3206006ca2a740178221ed833997716a00..a320df95f87bb3cd699b8b7775910706bbb668e7 100755 (executable)
@@ -91,7 +91,8 @@ elsif (-e "Makefile.PL") {
        # 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.