From owner-freebsd-ports@FreeBSD.ORG Sun Feb 14 03:46:07 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2382106566C for ; Sun, 14 Feb 2010 03:46:07 +0000 (UTC) (envelope-from freebsd@bitfreak.org) Received: from baumren.bluerosetech.com (baumren.bluerosetech.com [69.55.234.33]) by mx1.freebsd.org (Postfix) with ESMTP id AE9698FC08 for ; Sun, 14 Feb 2010 03:46:07 +0000 (UTC) Received: from vivi.cat.pdx.edu (vivi.cat.pdx.edu [131.252.214.6]) by baumren.bluerosetech.com (Postfix) with ESMTPSA id C74CBCF88C for ; Sat, 13 Feb 2010 19:26:34 -0800 (PST) Received: from [127.0.0.1] (c-76-115-170-205.hsd1.wa.comcast.net [76.115.170.205]) by vivi.cat.pdx.edu (Postfix) with ESMTPSA id 9EC0A24D88 for ; Sat, 13 Feb 2010 19:26:33 -0800 (PST) Message-ID: <4B776D6F.10008@bitfreak.org> Date: Sat, 13 Feb 2010 19:26:39 -0800 From: Darren Pilgrim User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Installing a different PORTVERSION based on OSVERSION? 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: Sun, 14 Feb 2010 03:46:07 -0000 I'm working on a revision to a port where the current version doesn't work on 8.0-R; however, an older version does. Rather than roll the entire port back to an older version, I'd like to have the newer version available to 7.x and older and the older version available to 8.x and newer. Is it appropriate to install different versions of a port based on ${OSVERSION}? If so, do I just set the necessary variables after including bsd.port.pre.mk?