If at all possible I'd like this to go into 5.8.3.
I've attached a suggested patch below, I'm not bothered what the environment variable is called, and I'd be grateful for any better suggesions on how this might be achieved, if you have any!
Thanks,
Alan Burlison
*** MakeMaker.pm.orig Mon Dec 15 15:15:23 2003
--- MakeMaker.pm Mon Dec 15 15:20:20 2003
***************
*** 499,505 ****
$self->init_DIRFILESEP;
$self->init_linker;
! if (! $self->{PERL_SRC} ) {
require VMS::Filespec if $Is_VMS;
my($pthinks) = $self->canonpath($INC{'Config.pm'});
my($cthinks) = $self->catfile($Config{'archlibexp'},'Config.pm');
--- 499,505 ----
$self->init_DIRFILESEP;
$self->init_linker;
! if (! $self->{PERL_SRC} && ! exists($ENV{PERL5_OVERRIDE_CONFIG})) {
require VMS::Filespec if $Is_VMS;
my($pthinks) = $self->canonpath($INC{'Config.pm'});
my($cthinks) = $self->catfile($Config{'archlibexp'},'Config.pm');
