From: Joey Hess <joey@gnu.kitenet.net>
Date: Thu, 14 May 2009 19:21:26 +0000 (-0400)
Subject: dh_auto_configure: Pass --skipdeps safely via PERL_AUTOINSTALL. Closes: #528235
X-Git-Tag: 7.2.13^0
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=70c804bc4a75c7b68d787484ccd22291494c6074;p=debhelper.git

dh_auto_configure: Pass --skipdeps safely via PERL_AUTOINSTALL. Closes: #528235
---

diff --git a/debian/changelog b/debian/changelog
index 05f0508..08ed826 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debhelper (7.2.13) unstable; urgency=low
+
+  * dh_auto_configure: Pass --skipdeps safely via PERL_AUTOINSTALL.
+    Closes: #528235
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 14 May 2009 15:21:21 -0400
+
 debhelper (7.2.12) unstable; urgency=low
 
   * dh_auto_configure: Revert --skipdeps change
diff --git a/dh_auto_configure b/dh_auto_configure
index d69ed16..5f48056 100755
--- a/dh_auto_configure
+++ b/dh_auto_configure
@@ -91,6 +91,9 @@ 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;
+	# This prevents  Module::Install from interactive behavior.
+	$ENV{PERL_AUTOINSTALL}="--skipdeps";
+
 	doit("perl", "Makefile.PL", "INSTALLDIRS=vendor",
 		"create_packlist=0", @{$dh{U_PARAMS}});
 }