Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 17:08:48 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        freebsd-hackers@FreeBSD.org
Subject:   src.conf(5) seems to affect ports build
Message-ID:  <20061020150848.GQ53114@obiwan.tataz.chchile.org>

next in thread | raw e-mail | index | archive | help
Hi,

src.conf(5) manual page states:

% The src.conf file contains settings that will apply to every build
% involving the FreeBSD source tree; see build(7).
% ...
% The only purpose of src.conf is to control the compilation of the FreeBSD
% sources, which are usually found in /usr/src.

However, share/mk/bsd.port.mk includes <bsd.own.mk> which in turn includes
/etc/src.conf.  Therefore if I have some WITH_/WITHOUT_ knob in it
which affects CFLAGS, they will be taken into account even for port builds.

Is it the expected behaviour ?  Maybe WITH(OUT)_ should simply avoid
modifying CFLAGS (though I think this might become useful in the near
future).

Thank you.
Best regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061020150848.GQ53114>