From owner-freebsd-ports@FreeBSD.ORG Fri Sep 14 13:15:17 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 B975710657C1 for ; Fri, 14 Sep 2012 13:15:17 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5DD8FC14 for ; Fri, 14 Sep 2012 13:15:17 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=0mZol9 7How71i064OiFp1KKL1fri5XY4LSp7GWvwOM2PQHnlR8izX67B5dM0QIJXABokKT pSZvBkZVZZWAHj654mGFOfjDz0+zjMeQuNdDOqIPfVowxxNRl/cJRdOF/U+X4hmt PTsO5R0rPXQY8ZnwVpfIO07vqpEd8Kofh+PjA= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=bzeIc7qLFtrL OvofdfFApKPSZHz5rpYz6pBLdjJHrMQ=; b=F1TtYr2mG5ojXZI1Twqfv6UjuTmZ 5prG0WCYbSXYK+KQl9Uf0Fs6q9G+FYFHbhxD8h7LV7AMFil/BTtXTHqmZhsmwilS Mjf8m2d9QEUVKXk8nFA0FYe3LYudqla9eR3dTHdJvpnSSYBXYKdSmyvRAl8lhfXw oT8SFLU82geVeHE= Received: (qmail 15145 invoked from network); 14 Sep 2012 08:15:15 -0500 Received: from unknown (HELO ?10.10.0.115?) (bryan@shatow.net@10.10.0.115) by sweb.xzibition.com with ESMTPA; 14 Sep 2012 08:15:15 -0500 Message-ID: <50532DB9.6000106@shatow.net> Date: Fri, 14 Sep 2012 08:14:33 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: lev@FreeBSD.org References: <583243228.20120914162701@serebryakov.spb.ru> In-Reply-To: <583243228.20120914162701@serebryakov.spb.ru> X-Enigmail-Version: 1.4.4 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: New options: options dependencies feature? 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, 14 Sep 2012 13:15:17 -0000 On 9/14/2012 7:27 AM, Lev Serebryakov wrote: > Hello, Freebsd-ports. > > Is it possible to express options' dependencies in new options > framework? > > I need option, which could be set if and only if some other option > is already selected. > > Now such situations are resolved via IGNORE which is set > conditionally, but it is old-style, maybe now here is better method? > Beyond simple SINGLE/MULTI dependencies (adding the SINGLE/MULTI as an option and requiring it be selected to pick from the list), no, we still need to use IGNORE and other ways of requiring dependent options. -- Regards, Bryan Drewery bdrewery@freenode/EFNet