Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2007 14:08:47 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        David Wolfskill <david@catwhisker.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Populating /usr/include for make buildworld?
Message-ID:  <45CE426F.6090208@FreeBSD.org>
In-Reply-To: <20070210191346.GA48740@bunrab.catwhisker.org>
References:  <20070210165904.GA58269@crodrigues.org>	<200702101837.l1AIb4xo058251@lurza.secnetix.de> <20070210191346.GA48740@bunrab.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
David Wolfskill wrote:
> On Sat, Feb 10, 2007 at 07:37:04PM +0100, Oliver Fromme wrote:
>> Craig Rodrigues wrote:
>>  > I am trying to see if I have any outdated files in /usr/include by
>> ...
>> I had exactly the same problem (but on RELENG_6).
>>
>> At first I copied the missing files from the source tree
>> ...
>>  > What is the correct way to populate /usr/include 
>>  > before buildworld?
>>
>> I would like to know the answer, too.
> 
> I approach the problem from a different point:  as part of my
> {build,install}world procedure, I do:
> 
> 	make buildworld && make kernel && mergemaster -u 0022 -p && \
> 	rm -fr /usr/include.old && mv /usr/include{,.old} && \
> 	make installworld && make delete-old && mergemaster -u 0022 -i

I have something similar that I've used for years, the method works well:

doinstall ()
{
    cd /usr && [ -d include-old ] && /bin/rm -r include-old;
    [ ! -e include-old ] && mv -i include include-old;
    /bin/rm -r /usr/share/man;
    cd /usr/src && touch /var/tmp/installdate && make installworld
}

hth,

Doug

-- 

    This .signature sanitized for your protection



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