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

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

Thread Previous | Thread Next
Jarkko Hietaniemi
July 4, 2001 07:50
Re: [PATCH lib/ExtUtils/ and others] Fixing extra -I's with PERL_CORE
Message ID:
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)'
> 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++; #
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About