From 2d11a7e9678a8894622d2af2943f9976d913f4c9 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Mon, 17 Jun 2013 11:49:39 +0200 Subject: 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.) --- write_buildcustomize.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'write_buildcustomize.pl') 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 -- cgit v1.2.1