Subject: Re: Nasty bug in devel/zlib
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 02/26/2005 23:35:39
On Sat, 26 Feb 2005, Georg Schwarz wrote:
> So, could we simply leave in the CFLAGS= line in Makefile.in? What is
> the reason for it being removed?
I can only guess it's to allow people to override the default CFLAGS
setting. Maybe pass in the original CFLAGS as PKG_CFLAGS from the pkg's
Makefile:
CFLAGS?= -O2
CONFIGURE_ENV+= PKG_CFLAGS=${CFLAGS}
and then prepend that in the Makefile.in:
CFLAGS= ${PKG_CFLAGS}
Just an idea, maybe find whoever removed the CFLAGS setting ("cvs
annotate" is your friend!)
- Hubert
--
NetBSD - Free AND Open! (And of course secure, portable, yadda yadda)