diff options
Diffstat (limited to 'Debian/Debhelper/Dh_Buildsystems.pm')
-rw-r--r-- | Debian/Debhelper/Dh_Buildsystems.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Debian/Debhelper/Dh_Buildsystems.pm b/Debian/Debhelper/Dh_Buildsystems.pm index eade5002..5c72ebd7 100644 --- a/Debian/Debhelper/Dh_Buildsystems.pm +++ b/Debian/Debhelper/Dh_Buildsystems.pm @@ -58,8 +58,8 @@ sub load_buildsystem { else { # Try to determine build system automatically for $system (@BUILDSYSTEMS) { - my $inst = create_buildsystem_instance($system, build_step=>$step); - if ($inst->is_buildable()) { + my $inst = create_buildsystem_instance($system); + if ($inst->check_auto_buildable($step)) { return $inst; } } @@ -133,7 +133,7 @@ sub buildsystems_list { # List buildsystems (including auto and specified status) my ($auto, $specified); - my @buildsystems = load_all_buildsystems(undef, build_step => undef); + my @buildsystems = load_all_buildsystems(undef); for my $inst (@buildsystems) { my $is_specified = defined $opt_buildsys && $opt_buildsys eq $inst->NAME(); if (! defined $specified && defined $opt_buildsys && $opt_buildsys eq $inst->NAME()) { |