Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2010 13:02:43 -0500
From:      Wesley Shields <wxs@FreeBSD.org>
To:        Darren Pilgrim <freebsd@bitfreak.org>
Cc:        ports@freebsd.org
Subject:   Re: Installing a different PORTVERSION based on OSVERSION?
Message-ID:  <20100214180243.GA79050@atarininja.org>
In-Reply-To: <4B776D6F.10008@bitfreak.org>
References:  <4B776D6F.10008@bitfreak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 13, 2010 at 07:26:39PM -0800, Darren Pilgrim wrote:
> 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?

This seems like a bad idea to me. How much effort would it take to fix
the port on 8.x and newer? The other option is to mark it broken on 8.x
and newer.

-- WXS



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