Permalink
Browse files

Sanier messages; Fix in included M::Build

  • Loading branch information...
1 parent 08f35d4 commit 1f33f8e3538398372eac41fe9a54ebcb96f805ad @tadzik committed Sep 13, 2010
Showing with 2 additions and 3 deletions.
  1. +1 −2 bin/neutro
  2. +1 −1 tmplib/Module/Build.pm
View
@@ -115,9 +115,8 @@ sub installdeps (Str $name) {
unless isinstalled $dep {
my $realdep = getname $dep
or crap "No such module: $dep ($name dependency)";
- notice "Found $realdep as a $name dependency, installing";
+ notice "$name depends on $realdep, installing now";
install $dep;
- notice "$realdep installed, now back into $name";
}
}
$fh.close;
@@ -85,7 +85,7 @@ our sub build(Str $dir = '.', Str $binary = 'perl6', :$v) {
my $pir = $module.subst(/\.pm6?/, ".pir");
next if ($pir.IO ~~ :f &&
$pir.IO.stat.modifytime > $module.IO.stat.modifytime);
- my $command = "$binary --target=PIR --output=$pir $module";
+ my $command = "PERL6LIB=$dir/lib $binary --target=PIR --output=$pir $module";
say $command if $v.defined;
run $command and die "Failed building $module"
}

0 comments on commit 1f33f8e

Please sign in to comment.