On Wed, Jul 04, 2001 at 09:49:47AM -0500, Jarkko Hietaniemi wrote: > 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. grumble new constants not added to the list of known MakeMaker constants grumble new constants not documented grumble old constants AUTOSPLITFILE MKPATH EQUALIZETIMESTAMP require PERLRUNINST instead of just PERLRUN because otherwise the sdbm subdirectory won't even build grumble was this change even tested grumble -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack CohenThread Previous | Thread Next