From owner-freebsd-ports@FreeBSD.ORG Fri Mar 25 03:51:43 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D38FE16A4CE for ; Fri, 25 Mar 2005 03:51:43 +0000 (GMT) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5403D43D62 for ; Fri, 25 Mar 2005 03:51:41 +0000 (GMT) (envelope-from vivek@khera.org) Received: from [192.168.1.4] (pcp04418836pcs.nrockv01.md.comcast.net [69.140.110.248]) by yertle.kcilink.com (Postfix) with ESMTP id 70A90B80A for ; Thu, 24 Mar 2005 22:51:40 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <6.2.1.2.2.20050325140809.02b866a8@mail.nerdshack.com> References: <6.2.1.2.2.20050325140809.02b866a8@mail.nerdshack.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Vivek Khera Date: Thu, 24 Mar 2005 22:51:40 -0500 To: ports@freebsd.org X-Mailer: Apple Mail (2.619.2) Subject: Re: make fetchindex tweakery X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 03:51:43 -0000 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.