make fetchindex tweakery

Vivek Khera vivek at khera.org
Thu Mar 24 19:51:43 PST 2005


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.



More information about the freebsd-ports mailing list