SENDMAIL_MC & making world

Maxim Konovalov maxim at macomnet.ru
Sat Oct 8 06:56:23 PDT 2005


On Sat, 8 Oct 2005, 17:47+0400, Yar Tikhiy wrote:

> All,
>
> I'd like to set SENDMAIL_MC in my /etc/make.conf files conditionally
> so that it is not set when I'm making {build,install}world.  I
> upgrade several machines over NFS from a single build server, and
> of course installworld breaks if SENDMAIL_MC differs from what was
> set during buildworld.  At the same time, I'd like to have SENDMAIL_MC
> set for the rest of the time on the machines because `hostname` is
> not a suitable way to construct the .mc names on them due to local
> setup peculiarities.  Any ideas how to achieve this effect?

It is possible to override make.conf location via __MAKE_CONF variable
and use different make.conf at the build,installworld stages.
Perhaps that suits your needs.

-- 
Maxim Konovalov


More information about the freebsd-hackers mailing list