Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2005 22:51:40 -0500
From:      Vivek Khera <vivek@khera.org>
To:        ports@freebsd.org
Subject:   Re: make fetchindex tweakery
Message-ID:  <fe1d7cc1b2c9c96017a62069e51ba6a8@khera.org>
In-Reply-To: <6.2.1.2.2.20050325140809.02b866a8@mail.nerdshack.com>
References:  <6.2.1.2.2.20050325140809.02b866a8@mail.nerdshack.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mar 24, 2005, at 10:08 PM, Rob B wrote:

> Is there a way to get the make fetchindex command retreive an 
> arbitrary version of INDEX?  I have a network with both 4.x and 5.x 
> machines, and a common /usr/ports is exported via nfs.  Cvsup of the 
> ports tree is done once per week by script, and I'd like to keep 
> everything regarding my ports tree in this one script.

On a 4.x machine, I do this:

make fetchindex
env INDEXFILE=INDEX-5 make fetchindex

you can figure out the reverse for running on a 5.x machine.



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