Re: [Module::Build] Re: [PATCH] add Module::Build 0.27_08
Status: Beta
Brought to you by:
kwilliams
|
From: Yitzchak Scott-T. <sth...@ef...> - 2006-03-07 20:15:33
|
On Tue, Mar 07, 2006 at 11:34:27AM -0800, Yitzchak Scott-Thoennes wrote:
> On Tue, Mar 07, 2006 at 07:58:59PM +0100, Dominic Dunlop wrote:
> > Sorry for the absence.
> >
> > On 2006?03?07, at 18:04, Yitzchak Scott-Thoennes wrote:
> >
> > >Does this help:
> > >
> > >--- lib/Module/Build/Base.pm.orig 2006-03-06 07:43:57.093750000 -0800
> > >+++ lib/Module/Build/Base.pm 2006-03-07 09:00:28.884844800 -0800
> > >@@ -334,7 +334,8 @@
> > > $thisperl .= $exe unless $thisperl =~ m/$exe$/i;
> > > }
> > >
> > >- foreach my $perl ( $c->{perlpath},
> > >+ foreach my $perl ( File::Spec->rel2abs($^X),
> > >+ $c->{perlpath},
> > > map File::Spec->catfile($_, $thisperl),
> > > File::Spec->path()
> > > ) {
> > > return $perl if -f $perl and $proto->_perl_is_same($perl);
> > >End of Patch.
> >
> > I think this has been overtaken by events, but no, it doesn't:
>
> Hmm, is $c->{properties}{perl} set correctly at this point?
I meant $proto->{properties}{perl}. But no, it isn't. (I'm testing
now with a perl that always sets $^X to "./perl", and without an
installed perl5.9.4 :).
|