Skip to content

Commit 9c0d896

Browse files
committed
Don't use libraries in t/bundled for Build.PL
1 parent a70ef13 commit 9c0d896

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Build.PL

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
use 5.006001;
22
use strict;
33

4-
BEGIN {
5-
die "CPANPLUS::Dist::Build version 0.08 or later is required to install Module::Build\n"
6-
if $INC{'CPANPLUS/Dist/Build.pm'} && CPANPLUS::Dist::Build->VERSION lt '0.08';
7-
}
8-
9-
# On some platforms (*ahem*, MacPerl 5.6.1) "use lib qw(lib);" doesn't
10-
# find the local "lib" directory, so we use File::Spec to do it properly.
11-
use File::Spec 0.82;
12-
use lib File::Spec->catdir('lib'); # use our self to install
13-
# XXX This doesn't carry over to sub processes
14-
use lib File::Spec->catdir('t', 'bundled'); # use bundled modules
15-
use lib File::Spec->catdir('t', 'lib'); # our utilities
4+
use lib 'lib'; # use our self to install
165

176
# bootstrap configure_requires prereqs
187
BEGIN { do './inc/bootstrap.pl' }

0 commit comments

Comments
 (0)