Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2010 23:38:27 -0700
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        arch@freebsd.org
Subject:   Re: Build tools
Message-ID:  <AANLkTikwDcspXaaDRiyTjyazfpqIvUSQkfI6-jvqgfqb@mail.gmail.com>
In-Reply-To: <20100628052344.GB8478@edoofus.dev.vega.ru>
References:  <20100626.172307.4959786928950356.imp@bsdimp.com> <20100626.181719.295937982837325865.imp@bsdimp.com> <20100628052344.GB8478@edoofus.dev.vega.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 27, 2010 at 10:23 PM, Ruslan Ermilov <ru@freebsd.org> wrote:
> Hi Warner,
>
> On Sat, Jun 26, 2010 at 06:17:19PM -0600, M. Warner Losh wrote:
>> In message: <20100626.172307.4959786928950356.imp@bsdimp.com>
>> =A0 =A0 =A0 =A0 =A0 =A0 "M. Warner Losh" <imp@bsdimp.com> writes:
>> : Hey Ruslan,
>> :
>> : Maybe you can help me understand why the following are in the
>> : buildtools list:
>> : _share=3D share/syscons/scrnmaps
>> :
>> : =A0 =A0 bin/csh \
>> : =A0 =A0 lib/ncurses/ncurses \
>> : =A0 =A0 lib/ncurses/ncursesw \
>> : =A0 =A0 ${_share} \
>> : =A0 =A0 lib/libmagic \
>> : =A0 =A0 usr.sbin/sysinstall
>> :
>> : There's clearly some side effects that I'm missing here...
>>
>> I'm missing that build-tools: target is built, and that those tools
>> are then used to build these items. =A0It isn't that these items are
>> built themselves.
>
> Is there anything else I'm supposed to answer? =A0:-)

I think I see why peter@ added the sysinstall bit. If you look at the
Makefile itself there's a built-tools target (which is fairly
inconsequential as the rtermcap program is relatively small), and a
dependency to check for an existing prebuilt fat termcap file and/or
build a copy from scratch if the prebuilt one doesn't exist. I have no
idea why it's in sysinstall's Makefile -- but it's there today (which
means that one should probably tread around it with a big stick for
the time being, and eventually be moved out if it's of value).

-Garrett



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