summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Buildsystem/perl_build.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Debian/Debhelper/Buildsystem/perl_build.pm')
-rw-r--r--Debian/Debhelper/Buildsystem/perl_build.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/Debian/Debhelper/Buildsystem/perl_build.pm b/Debian/Debhelper/Buildsystem/perl_build.pm
index 929d9e90..525b0e1c 100644
--- a/Debian/Debhelper/Buildsystem/perl_build.pm
+++ b/Debian/Debhelper/Buildsystem/perl_build.pm
@@ -7,7 +7,6 @@
package Debian::Debhelper::Buildsystem::perl_build;
use strict;
-use Debian::Debhelper::Dh_Lib;
use base 'Debian::Debhelper::Buildsystem';
sub DESCRIPTION {
@@ -18,9 +17,9 @@ sub check_auto_buildable {
my ($this, $step) = @_;
# Handles everything
- my $ret = -e "Build.PL";
+ my $ret = -e $this->get_sourcepath("Build.PL");
if ($step ne "configure") {
- $ret &&= -e "Build";
+ $ret &&= -e $this->get_sourcepath("Build");
}
return $ret;
}
@@ -28,7 +27,7 @@ sub check_auto_buildable {
sub do_perl {
my $this=shift;
$ENV{MODULEBUILDRC} = "/dev/null";
- doit("perl", @_);
+ $this->doit_in_sourcedir("perl", @_);
}
sub new {