slic3r/slic3r-buildpl.patch
Miro Hrončok 228bba06b7 1.0.0RC2
2014-01-03 15:50:05 +01:00

34 lines
1.2 KiB
Diff

diff --git a/Build.PL b/Build.PL
index f7117e6..0d2abb6 100644
--- a/Build.PL
+++ b/Build.PL
@@ -9,14 +9,14 @@ use File::Spec;
my %prereqs = qw(
Boost::Geometry::Utils 0.15
Encode::Locale 0
- ExtUtils::MakeMaker 6.80
+ ExtUtils::MakeMaker 6.70
File::Basename 0
File::Spec 0
Getopt::Long 0
Math::ConvexHull::MonotoneChain 0.01
Math::Geometry::Voronoi 1.3
Math::PlanePath 53
- Module::Build::WithXSpp 0.14
+ Module::Build::WithXSpp 0.13
Moo 1.003001
Scalar::Util 0
Storable 0
@@ -149,7 +149,10 @@ if (@missing_prereqs) {
exit 1;
} elsif (!$gui) {
eval "use App::Prove; 1" or die "Failed to load App::Prove";
- my $res = App::Prove->new->run ? 0 : 1;
+
+ my $app = App::Prove->new;
+ $app->process_args('-Ixs/blib/lib','-Ixs/blib/arch');
+ my $res = $app->run ? 0 : 1;
if ($res == 0) {
print "If you also want to use the GUI you can now run `perl Build.PL --gui` to install the required modules.\n";
} else {