Subject: Re: CVS commit: pkgsrc
To: Johnny C. Lam <lamj@stat.cmu.edu>
From: David Brownlee <abs@netbsd.org>
List: pkgsrc-changes
Date: 05/17/2001 18:29:17
On Thu, 17 May 2001, Johnny C. Lam wrote:

> > > 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.

	If its in bsd.pkg.mk then presumably it could be conditional
	on USE_GMAKE?

	btw - would you be OK with addin the following to the apache
	Makefile?

.if defined(APACHE_HARD_SERVER_LIMIT)
CFLAGS+=                -DHARD_SERVER_LIMIT=${APACHE_HARD_SERVER_LIMIT}
.endif


-- 
		David/absolute		-- www.netbsd.org: No hype required --