From owner-freebsd-ports@FreeBSD.ORG Fri Feb 10 06:15:52 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 0901F1065676 for ; Fri, 10 Feb 2012 06:15:52 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-150-251.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 363EF154A49; Fri, 10 Feb 2012 06:15:51 +0000 (UTC) Message-ID: <4F34B616.7060909@FreeBSD.org> Date: Thu, 09 Feb 2012 22:15:50 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0) Gecko/20120201 Thunderbird/10.0 MIME-Version: 1.0 To: Fbsd8 References: <4F34A914.3040201@a1poweruser.com> In-Reply-To: <4F34A914.3040201@a1poweruser.com> X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: How to create 2 versions of a port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2012 06:15:52 -0000 On 02/09/2012 21:20, Fbsd8 wrote: > I maintain a port that accesses the release distribution files. Now with > 9.0 having a different path /i386/i386 and the files being compressed > first with tar and then again with xz I need to change the port to > access the new layout and file format. > > I would like to leave the current version in the ports as is which works > fine with the 8.x world and add a second version that only works with > 9.0 and newer. Can you give an example of the necessary changes? It's not clear why the 9+ version needs to have its own port. Doug -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/