Subject: Re: CFLAGS in mk.conf
To: Georg Schwarz <firstname.lastname@example.org>
From: Idar Tollefsen <email@example.com>
Date: 05/29/2005 23:40:10
>>To my understanding, they should import CFLAGS from mk.conf and add to
>>them if needed. Not the other way around.
> OK, and how is this being done correctly?
The package's Makefile includes bsd.prefs.mk with
and then adds to CFLAGS with
The scenario you describe would occur if the package
set CFLAGS _before_ importing bsd.prefs.mk.
Especially since CFLAGS in mk.conf is usually set
with "=", not "+=".