Package: debhelper Severity: normal Version: 7.2.9 Tags: patch Hi,
There's been a recent discussion[1] on the debian-perl list about whether Build.PL should be used by the dh_auto_* commands instead of Makefile.PL when both exist. This is because sometimes the Makefile.PL is just a "passthru" to the Build.PL, which causes a couple of bugs. One of the bugs is that the .packlist file is still created. Currently dh_auto_install passes the correct options to Build.PL to make it not install the .packlist file. But when a passthru Makefile.PL is being used that option isn't passed. We determined that passing create_packlist=0 to Makefile.PL from dh_auto_configure will fix this problem. I tested with a few "normal" Makefile.PLs, and both Module::Install and ExtUtils::MakeMaker based Makefile.PLs both ignore this option. The attached patch fixes this problem. Thanks, Ryan 1: http://lists.debian.org/debian-perl/2009/05/msg00017.html -- _________________________ Ryan Niebur ryanrya...@gmail.com
--- /usr/bin/dh_auto_configure.orig 2009-05-04 11:48:43.000000000 -0700 +++ /usr/bin/dh_auto_configure 2009-05-09 19:55:16.000000000 -0700 @@ -88,7 +88,7 @@ # 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", @{$dh{U_PARAMS}}); + doit("perl", "Makefile.PL", "INSTALLDIRS=vendor", "create_packlist=0", @{$dh{U_PARAMS}}); } elsif (-e "Build.PL") { $ENV{PERL_MM_USE_DEFAULT}=1; # Module::Build can also use this.
signature.asc
Description: Digital signature