summaryrefslogtreecommitdiff
path: root/cpan/dist/PathTools/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/dist/PathTools/Makefile.PL')
-rw-r--r--cpan/dist/PathTools/Makefile.PL27
1 files changed, 27 insertions, 0 deletions
diff --git a/cpan/dist/PathTools/Makefile.PL b/cpan/dist/PathTools/Makefile.PL
new file mode 100644
index 00000000..bc40baff
--- /dev/null
+++ b/cpan/dist/PathTools/Makefile.PL
@@ -0,0 +1,27 @@
+
+BEGIN { @INC = grep {!/blib/} @INC }
+
+require 5.005;
+use ExtUtils::MakeMaker;
+WriteMakefile
+(
+ 'DISTNAME' => 'PathTools',
+ 'NAME' => 'Cwd',
+ 'VERSION_FROM' => 'Cwd.pm',
+ 'DEFINE' => join(" ",
+ "-DDOUBLE_SLASHES_SPECIAL=@{[$^O eq q(qnx) || $^O eq q(nto) ? 1 : 0]}",
+ ((grep { $_ eq 'PERL_CORE=1' } @ARGV) ? '-DNO_PPPORT_H' : ()),
+ ),
+ 'PREREQ_PM' => {
+ 'Carp' => '0',
+ 'File::Basename' => '0',
+ 'Scalar::Util' => '0',
+ 'Test' => '0',
+ # done_testing() is used in dist/Cwd/t/Spec.t
+ 'Test::More' => 0.88,
+ },
+ ($] > 5.011) ? () : ( INSTALLDIRS => 'perl' ), # CPAN sourced versions should now install to site
+ 'EXE_FILES' => [],
+ 'PL_FILES' => {}
+ )
+;