From owner-freebsd-ports@FreeBSD.ORG Wed Jun 26 12:29:32 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1DF73B32; Wed, 26 Jun 2013 12:29:32 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) by mx1.freebsd.org (Postfix) with ESMTP id 6C7C112D4; Wed, 26 Jun 2013 12:29:31 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.69) (envelope-from ) id 1Uroqm-0003DE-Bu; Wed, 26 Jun 2013 19:29:28 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id r5QCV0s8032923; Wed, 26 Jun 2013 19:31:00 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id r5QCUtIg032890; Wed, 26 Jun 2013 19:30:55 +0700 (NOVT) (envelope-from danfe) Date: Wed, 26 Jun 2013 19:30:55 +0700 From: Alexey Dokuchaev To: Baptiste Daroussin Subject: Re: Proposal: further OptionsNG improvements Message-ID: <20130626123055.GA30841@regency.nsu.ru> References: <20130618160037.GA26677@regency.nsu.ru> <20130618162708.GA34175@regency.nsu.ru> <20130621080451.GL23721@ithaqua.etoilebsd.net> <20130626121241.GA23956@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130626121241.GA23956@regency.nsu.ru> User-Agent: Mutt/1.4.2.1i Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jun 2013 12:29:32 -0000 On Wed, Jun 26, 2013 at 07:12:41PM +0700, Alexey Dokuchaev wrote: > I've cooked something up just now, take a look at the attached diff. I've > only barely tested it, but it seems to work for a few of my hand-crafted > configurations. It also handles known options groups (single/multi/etc.), > tested on www/firefox. One known limitation of option groups right now is that you cannot have per-arch or !arch stuff, only :on. It should not be hard to fix, but I need to think how to avoid code duplication. I miss $(call ...) of GNU make sometimes... ./danfe