From owner-freebsd-ports@FreeBSD.ORG Fri Feb 10 07:03:25 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B1E5106566B; Fri, 10 Feb 2012 07:03:25 +0000 (UTC) (envelope-from riaank@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id CD3E58FC12; Fri, 10 Feb 2012 07:03:24 +0000 (UTC) Received: by yenl12 with SMTP id l12so1711850yen.13 for ; Thu, 09 Feb 2012 23:03:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ICIsq1o9wqs/j9sWZVWwAsbmeOG9QoArzkgsX3PcWNo=; b=Fyn90uIvqrzUxz/vgEUkaeroOfwl0Ft8Ha/3/pRdVv+A+V6lV3CiWynUXlO5AAxOr7 lkEAkGwvJa+B6HC7hN4EiPceke4YEC9Fz7mkp8LOiFgwLXXkJGes/oybGPD6UkJS8UgH aH2s/zgDDQJ/YA1Yg6fU7DwUXou671A1LCcz4= MIME-Version: 1.0 Received: by 10.236.184.8 with SMTP id r8mr6853141yhm.110.1328856093222; Thu, 09 Feb 2012 22:41:33 -0800 (PST) Received: by 10.146.195.10 with HTTP; Thu, 9 Feb 2012 22:41:33 -0800 (PST) In-Reply-To: <4F34B4BF.3040202@FreeBSD.org> References: <4F34A914.3040201@a1poweruser.com> <4F34B4BF.3040202@FreeBSD.org> Date: Fri, 10 Feb 2012 08:41:33 +0200 Message-ID: From: Riaan Kruger To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 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 07:03:25 -0000 Sorry if I replied to the wrong place. Have you considered making the portwork for both version 8 and version 9 (if it is possible)? You could use something like OSVERION to check the base version and then set some variable accordingly. Riaan