]> git.donarmstrong.com Git - debhelper.git/commitdiff
remove MODULEBUILDRC override
authorJoey Hess <joey@kitenet.net>
Tue, 25 Jan 2011 21:13:21 +0000 (17:13 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 25 Jan 2011 21:13:21 +0000 (17:13 -0400)
This doesn't work reliably, see #607313.

Probably that is caused by the perl_build buildsystem not being detected
for a package that has a Makefile.PL, and so MODULEBUILDRC is not
overridden. So, I could add it there too, but then it's also possible for
it to be run from a Makefile.. so I could add it to dh_auto_*. But
then there are packages that don't use those. So I conclude that dealing
with this in debhelper is out of its scope, and this needs to be fixed
at a higher level, probably dpkg-dev.

Debian/Debhelper/Buildsystem/perl_build.pm

index 2afa5e59ff75888dcaa741380d81eb4343998a5c..deb9a37933d4c0a911a103711bd6ca6a2048ac3a 100644 (file)
@@ -26,7 +26,6 @@ sub check_auto_buildable {
 
 sub do_perl {
        my $this=shift;
-       $ENV{MODULEBUILDRC} = "/dev/null";
        $this->doit_in_sourcedir("perl", @_);
 }