Subject: Re: CFLAGS in mk.conf
To: Idar Tollefsen <firstname.lastname@example.org>
From: Georg Schwarz <email@example.com>
Date: 05/30/2005 00:38:43
> The package's Makefile includes bsd.prefs.mk with
> .include "../../mk/bsd.prefs.mk"
> and then adds to CFLAGS with
this means that every package manipulating CFLAGS or some similar
variable must include ../../mk/bsd.prefs.mk in its Makefile? (my impression
so far is that Makefiles do so only when querying some variable defined
> 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 "+=".
that was my initial point, that one runs into conflict when doing so.
Georg Schwarz http://home.pages.de/~schwarz/
firstname.lastname@example.org +49 178 8545053