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

Re: PERFORCE change 11579 for review

Thread Next
Doug MacEachern
August 5, 2001 08:41
Re: PERFORCE change 11579 for review
Message ID:
On Sun, 5 Aug 2001, Jarkko Hietaniemi wrote:

> Change 11579 by jhi@alpha on 2001/08/05 13:31:07
> 	(Reintroduce #11125)
> 	Subject: MakeMaker should pass through DEFINE and INC to subdirs 
> 	From: Alan Burlison <> 
> 	Date: Tue, 03 Jul 2001 15:20:13 +0100   
> 	Message-ID: <> 

this breaks alot of stuff.  if somebody wants INC, DEFINE, etc.,
passed thru, it can be done in the top level Makefile.PL, for example
mod_perl does this:

sub MY::pasthru {
    return unless $APACHE_SRC;
    my $self = shift;
    chomp(my $str = $self->MM::pasthru);
    join $/, "$str\\", 

yeah, its not pretty, but not as ugly as breaking lots of existing
packages.  Makefile.PL in subdirectories might have a different INC than
the top level, forcing the toplevel INC into subdirectories is not right.

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