From owner-freebsd-ports@FreeBSD.ORG Wed Jul 6 01:38:31 2005 Return-Path: X-Original-To: ports@FreeBSD.org 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 6560F16A41C for ; Wed, 6 Jul 2005 01:38:31 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: from mail3out.barnet.com.au (mail3out.barnet.com.au [202.83.176.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16AD643D45 for ; Wed, 6 Jul 2005 01:38:30 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail3out.barnet.com.au (Postfix, from userid 27) id 1D88B877C54; Wed, 6 Jul 2005 11:38:29 +1000 (EST) X-Viruscan-Id: <42CB3615000163C5A243E9@BarNet> Received: from mail3-auth.barnet.com.au (mail3.barnet.com.au [202.83.176.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.barnet.com.au", Issuer "BarNet Root Certificate Authority" (verified OK)) by mail3.barnet.com.au (Postfix) with ESMTP id EB8F5877C44; Wed, 6 Jul 2005 11:38:28 +1000 (EST) Received: from k7.mavetju (r220-101-29-114.cpe.unwired.net.au [220.101.29.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "edwin.adsl.barnet.com.au", Issuer "BarNet Root Certificate Authority" (not verified)) by mail3-auth.barnet.com.au (Postfix) with ESMTP id 8158D877C32; Wed, 6 Jul 2005 11:38:23 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id C172C64B5; Wed, 6 Jul 2005 11:38:17 +1000 (EST) Date: Wed, 6 Jul 2005 11:38:17 +1000 From: Edwin Groothuis To: Steve Clement Message-ID: <20050706013817.GA1186@k7.mavetju> References: <42CB0982.1000102@ion.lu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42CB0982.1000102@ion.lu> User-Agent: Mutt/1.5.9i Cc: ports@FreeBSD.org Subject: Re: Patch Levels in Ports... 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: Wed, 06 Jul 2005 01:38:31 -0000 On Wed, Jul 06, 2005 at 12:28:18AM +0200, Steve Clement wrote: > I have a port with 2 FLAGS: > > BLA_ENABLE=yes > BLA2_ENABLE=yes > > now I need to apply different patches depending on what options are set. > > patch-aa patch-ab are flailing so what's the correct procedure: > > split the patch-* to be applied correctly into EXTRA_PATCHES > > or is there a more elegant way? I have had something similar. I just renamed all patches to patch5- and patch4- (yes, indeed for 4.x and 5.x) and added them to EXTRA_PATCHES depending on the OS version. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/