summaryrefslogtreecommitdiff
path: root/write_buildcustomize.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2013-06-17 11:49:39 +0200
committerNicholas Clark <nick@ccl4.org>2013-07-02 15:57:20 +0200
commit2d11a7e9678a8894622d2af2943f9976d913f4c9 (patch)
tree3649747723da0e2ec971152c37f1e184d431c332 /write_buildcustomize.pl
parent81e6213c638d987f9b2078f8c3166d1f99b3d973 (diff)
downloadperl-2d11a7e9678a8894622d2af2943f9976d913f4c9.tar.gz
Move VMS::Filespec from vms/ext to ext/
This simplifies the VMS Makefile. It would have simplified the VMS Makefile further if it had had the correct rules to delete [.lib.VMS]Filespec.pm which are now no longer needed. (The generated ext/VMS-Filespec/DESCRIP.MMS will now take care of this.)
Diffstat (limited to 'write_buildcustomize.pl')
-rw-r--r--write_buildcustomize.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/write_buildcustomize.pl b/write_buildcustomize.pl
index 92c75de93e..576fe5cfec 100644
--- a/write_buildcustomize.pl
+++ b/write_buildcustomize.pl
@@ -7,9 +7,6 @@ if (@ARGV) {
unshift @INC, 'lib';
}
-unshift @INC, ('dist/Cwd', 'dist/Cwd/lib');
-require File::Spec::Functions;
-
my $file = 'lib/buildcustomize.pl';
# To clarify, this isn't the entire suite of modules considered "toolchain"
@@ -35,6 +32,10 @@ my @toolchain = qw(cpan/AutoLoader/lib
# Used only in ExtUtils::Liblist::Kid::_win32_ext()
push @toolchain, 'cpan/Text-ParseWords/lib' if $^O eq 'MSWin32';
+push @toolchain, 'ext/VMS-Filespec/lib' if $^O eq 'VMS';
+
+unshift @INC, @toolchain;
+require File::Spec::Functions;
# lib must be last, as the toolchain modules write themselves into it
# as they build, and it's important that @INC order ensures that the partially