develooper Front page | perl.perl5.porters | Postings from July 2001

Re: [PATCH lib/ExtUtils/MM_Unix.pm and others] Fixing extra -I's with PERL_CORE

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
July 4, 2001 07:50
Subject:
Re: [PATCH lib/ExtUtils/MM_Unix.pm and others] Fixing extra -I's with PERL_CORE
Message ID:
20010704094947.Y19034@chaos.wustl.edu
On Wed, Jul 04, 2001 at 12:01:16AM -0400, Michael G Schwern wrote:
> What I was saying before about MakeMaker shoving -I(PERL_ARCH)
> -I(PERL_LIB) into nearly every run of perl whether it needed it or
> not.  This fixes that.  Basically, it defines a few new constants,
> PERLRUN, PERLRUN_INST and TEST_LIBS which are set depending on if the
> PERL_CORE flag is set.
>
> PERLRUN replaces all the '$(PERL) -I$(PERL_ARCH) -I$(PERL_LIB)'
> 
> PERLRUN_INST replaces '$(PERL) -I$(INST_ARCH) -I$(INST_LIB)
> -I$(PERL_ARCH) -I$(PERL_LIB)'
> 
> TEST_LIBS is the set of -I's necessary to run a "make test"
> 
> 
> What this all boils down to is this: If MakeMaker is building the
> core, PERL_CORE is set and -I$(PERL_ARCH) and -I$(PERL_LIB) are used.
> Otherwise, they're not used (since they're already in @INC) and won't
> get in the way of any PERL5LIB you might have set.
> 
> 
> All the other MM_* modules will need similar patches.  I might be able
> to do it myself, but I'm kind of hoping someone else will (since I
> can't easily test it).

Thanks, applied.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About