]> git.donarmstrong.com Git - debhelper.git/commitdiff
merge master
authorJoey Hess <joey@gnu.kitenet.net>
Thu, 14 May 2009 19:22:36 +0000 (15:22 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Thu, 14 May 2009 19:22:53 +0000 (15:22 -0400)
1  2 
Debian/Debhelper/Buildsystem/perl_makemaker.pm
debian/changelog

index a7bb5cc94bab373b11a3c0279f6ad7f9a7b5d846,0000000000000000000000000000000000000000..46dda4f8306b5dd5669a924b6ad4d09847377131
mode 100644,000000..100644
--- /dev/null
@@@ -1,53 -1,0 +1,56 @@@
 +# A buildsystem plugin for handling Perl MakeMaker based projects.
 +#
 +# Copyright: © 2008-2009 Joey Hess
 +#            © 2008-2009 Modestas Vainius
 +# License: GPL-2+
 +
 +package Debian::Debhelper::Buildsystem::perl_makemaker;
 +
 +use strict;
 +use Debian::Debhelper::Dh_Lib;
 +use base 'Debian::Debhelper::Buildsystem::makefile';
 +
 +sub DESCRIPTION {
 +      "Perl ExtUtils::MakeMaker (Makefile.PL)"
 +}
 +
 +sub check_auto_buildable {
 +      my $this=shift;
 +      my ($action)=@_;
 +
 +      # Handles configure, install; the rest - next class
 +      if ($action eq "install" || $action eq "configure") {
 +              return -e "Makefile.PL";
 +      }
 +      else {
 +              return 0;
 +      }
 +}
 +
 +sub new {
 +      my $class=shift;
 +      my $this=$class->SUPER::new(@_);
 +      $this->enforce_in_source_building();
 +      return $this;
 +}
 +
 +sub configure {
 +      my $this=shift;
 +      # 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",
 +              @_);
 +}
 +
 +sub install {
 +      my $this=shift;
 +      my $destdir=shift;
 +      $this->SUPER::install($destdir, "PREFIX=/usr", @_);
 +}
 +
 +1;
index 8a76e1c79026344f48dc946127fa70e6e9888f6c,08ed8266b07690fe9f287db25fdc47d2c056aa16..8d158786c4b342115c1946b26a890a883a47fea9
@@@ -1,20 -1,10 +1,27 @@@
 +debhelper (7.3.0) UNRELEASED; urgency=low
 +
 +  * Modular object oriented dh_auto_* buildsystem support,
 +    contributed by Modestas Vainius
 +    - dh_auto_* --builddirectory can now be used to specify a build
 +      directory to use for out of source building, for build systems
 +      that support it. Closes: #480577
 +    - dh_auto_* --buildsystem can now be used to override the autodetected
 +      build system, or force use of a third-party class.
 +    - dh_auto_* --list can be used to list available and selected build
 +      systems.
 +    - Adds support for cmake.
 +    - Historical dh_auto_* behavior should be preserved despite these
 +      large changes..
 +
 + -- Joey Hess <joeyh@debian.org>  Mon, 20 Apr 2009 16:26:08 -0400
 +
+ 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