Subject: Re: CVS commit: pkgsrc
To: None <abs@netbsd.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: pkgsrc-changes
Date: 05/17/2001 13:24:46
"Johnny C. Lam" <lamj@stat.cmu.edu> writes:
> 
> David Brownlee <abs@netbsd.org> writes:
> > 
> > Module Name:	pkgsrc
> > Committed By:	abs
> > Date:		Thu May 17 16:32:27 UTC 2001
> > 
> > Modified Files:
> > 	pkgsrc/www/apache: Makefile
> > 
> > Log Message:
> > Add MAKE="${MAKE}" to CONFIGURE_ENV, otherwise on Linux apache configures to
> > use gmake when when it is being compiled with bmake, and much pain ensues
> 
> Actually, I think it should actually look like:
> 
> 	CONFIGURE_ENV+=		MAKE="${MAKE_PROGRAM}"
> 
> For some packages that _require_ gmake, the configure script fails to
> detect it because it just invokes "make" and doesn't find GNU make,
> much like you're describing above.  I believe this solves your problem
> as well, since ${MAKE_PROGRAM} is set to bmake on Linux, right?

I mean for the above line to be added to bsd.pkg.mk, not just to the
apache Makefile.

     -- Johnny C. Lam <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/