From owner-freebsd-ports@FreeBSD.ORG Thu Jul 26 16:56:29 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3318D106566C; Thu, 26 Jul 2012 16:56:29 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id E037A8FC17; Thu, 26 Jul 2012 16:56:28 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so3758592pbb.13 for ; Thu, 26 Jul 2012 09:56:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9WjmTOK6X88ph2xmvFNu+rAp6ucSjYCQoAOE+pPb5G0=; b=JgrbYJDPNt/wLOYG/t4TFzA/+6P58E8vMGDi461rwH3wUZMNxcgQoZhcerl6M28/C1 2uyPI6a3ZL88wJhEkCvo/OTXNzY8FS+qWH45vAZyzYOrYaeC8qrMLQsaRLGB0PPGD7t9 s5u1FyZzGrnVlnp8zUmnDlui4UCA/OtN9ZjDX4sDXtdOS7ZKYYhruWWymnRHLVdUpZL8 AmPJrW0Lhbh9lZFqzxAPQc/DmryW9QJFHT1JXzJyyUZNhYulkmKWejbQV8sfc/rSqJem qhH2Nj9JSRkCbvWWZ3fL5RLAtITL0PiHJHoMxHEqDHWnNgWDznHnkczNQ9oL1IfCeCUZ 0MZg== MIME-Version: 1.0 Received: by 10.68.232.103 with SMTP id tn7mr6543052pbc.86.1343321788602; Thu, 26 Jul 2012 09:56:28 -0700 (PDT) Received: by 10.66.41.100 with HTTP; Thu, 26 Jul 2012 09:56:28 -0700 (PDT) In-Reply-To: <501172DD.3080000@FreeBSD.org> References: <201207261441.q6QEfAY9002147@lurza.secnetix.de> <501172DD.3080000@FreeBSD.org> Date: Thu, 26 Jul 2012 11:56:28 -0500 Message-ID: From: Jeremy Messenger To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Cc: Baptiste Daroussin , Scot Hetzel , Oliver Fromme , FreeBSD Ports , freebsd-ports , Jase Thew Subject: Re: Question about new options framework (regression?) 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: Thu, 26 Jul 2012 16:56:29 -0000 On Thu, Jul 26, 2012 at 11:39 AM, Doug Barton wrote: > On 7/26/2012 7:41 AM, Oliver Fromme wrote: >> >> Jase Thew wrote: >> > On 25/07/2012 23:57, Baptiste Daroussin wrote: >> > > because the priority goes to global to specific and the most specific is the >> > > options file. >> > > >> > > if most people want the options file to not have the final priority, why not, >> > > can others spread their opinion here? >> > >> > I can't see why it would be of benefit for saved options to override >> > anything passed to make (either env or as an arg), as one of the reasons >> > you're likely to be passing them is to override any saved settings in >> > the first place. >> > >> > Please consider reverting back to the established and I daresay, >> > expected behaviour. >> >> I agree with Jase. >> >> Actually I'm not sure if PORTS_DBDIR should override make.conf >> or vice versa. I don't know which one should be regarded as >> more specific. > > Traditionally the precedence has been: > > make.conf < OPTIONS < command line > > The reason is that you want to set global options as high up as > possible, and then be able to override things for specific ports, and > specific builds. > > We were promised that this would work with the new OPTIONS, it's > disappointing to here that it isn't. I don't know anything about the promise, but I do agree about that it's disappoint that make.conf (global options) isn't first. >> But anything specified on the commandline is definitely more >> specific than PORTS_DBDIR and should override anything else. > > Right. > >> One way to do that would be to introduce another pair of >> variables, e.g. OVERRIDE_SET and OVERRIDE_UNSET, so you could >> type: make OVERRIDE_SET=STATIC > > That shouldn't be necessary. The code should DTRT, as it did previously. > > Doug > > -- > > Change is hard. > > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org