Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 12:58:25 +0100
From:      Bernard El-Hagin <bernard.el-hagin@lido-tech.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: portsdb: Warning: Duplicate INDEX entry
Message-ID:  <4fnr30d0lugcvr1ggn6ng1316qti27ffo6@4ax.com>
In-Reply-To: <403DDB80.7020104@geminix.org>
References:  <20040223213301.GA2236@jrpenn.demon.co.uk> <20040224031539.K800@localhost.localdomain> <20040224034201.GA38608@xor.obsecurity.org> <20040224045718.GA661@hoth> <20040224061613.GA40324@xor.obsecurity.org> <20040224074445.00007d99@gdndev25> <20040224065734.GA40898@xor.obsecurity.org> <he0m309fuih9fcn1vntfoj6g4svpfkgjjq@4ax.com> <403B1710.4090207@geminix.org> <nv6m30lhvg9tbic6mv68ecbk0g2a7lu2l6@4ax.com> <403DDB80.7020104@geminix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Uwe Doering wrote:

>Bernard El-Hagin wrote:
>> Uwe Doering wrote:
>>>Bernard El-Hagin wrote:
>>>>Kris Kennaway <kris@obsecurity.org> wrote:
>>>>>[...]
>>>>>I think there's something in one of the included makefiles that =
relies
>>>>>on a change to make(1) that happened after 5.1-RELEASE.  Note that
>>>>>only the most recent release is supported by the ports collection
>>>>>(http://www.freebsd.org/ports); try updating to 5.2 or 4.9, which
>>>>>should fix the problem.
>>>>
>>>>Wow, that really sucks, since I've had zero luck updating to 5.2 the =
two
>>>>times I tried, and going with 4.9 from 5.1R means a reinstall, rather
>>>>than an upgrade (I'm led to believe).
>>>
>>>If you have the OS sources installed you could selectively upgrade the=
=20
>>>source files of make(1) via cvsup(1) and just install it.  No need to=20
>>>upgrade the whole OS only because make(1) got an additional command =
line=20
>>>option.  We recently did this for our 4.5 based systems.
>>=20
>> Could you please explain how that's done? I've never selectively
>> upgraded the source and I'm afraid of screwing something up.
>
>If you haven't already done so, install the port 'cvsup', preferably the=
=20
>precompiled package in order to avoid having to install Modula (which=20
>'cvsup' is written in).
>
>Then you need an appropriate supfile, '/etc/cvsup-src-5.2' in this=20
>example, which should look like this:
>
>--------------------- cut here ------------------------
>*default  host=3Dcvsup.FreeBSD.org
>*default  base=3D/usr
>*default  prefix=3D/usr
>*default  release=3Dcvs
>*default  tag=3DRELENG_5_2
>*default  delete use-rel-suffix
>
>src-all
>--------------------- cut here ------------------------
>
>Now do
>
>   cvsup -g -i src/usr.bin/make /etc/cvsup-src-5.2
>
>Once this went through successfully, build and install the new version:
>
>   cd /usr/src/usr.bin/make
>   make obj && make depend && make
>   make install
>   (clean up /usr/obj afterwards if desired)
>
>That's it.  You can selectively upgrade other programs the same way if=20
>necessary, provided of course there are no incompatibilities in the=20
>respective areas between the OS releases.  A look at the CVS commit=20
>comments is always a good idea in this context.


Thanks very much for that information, Uwe. I had no idea that such
selective upgrading was possible.


--=20
Cheers,
Bernard



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