From owner-freebsd-ports@FreeBSD.ORG Mon Jun 16 14:35:49 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 792E8141; Mon, 16 Jun 2014 14:35:49 +0000 (UTC) Received: from hades.sorbs.net (hades.sorbs.net [67.231.146.201]) by mx1.freebsd.org (Postfix) with ESMTP id 6472E2787; Mon, 16 Jun 2014 14:35:48 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8 Received: from isux.com (firewall.isux.com [213.165.190.213]) by hades.sorbs.net (Oracle Communications Messaging Server 7.0.5.29.0 64bit (built Jul 9 2013)) with ESMTPSA id <0N7900H77ND3PK00@hades.sorbs.net>; Mon, 16 Jun 2014 07:39:04 -0700 (PDT) Message-id: <539F00BC.8050604@sorbs.net> Date: Mon, 16 Jun 2014 16:35:40 +0200 From: Michelle Sullivan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.24) Gecko/20100301 SeaMonkey/1.1.19 To: lev@FreeBSD.org Subject: Re: How to pick up options from another ("master") port, but don't show "config" dialog at all and have defaults in case of absence of "master" port options file? References: <661714484.20140616162734@serebryakov.spb.ru> <539EF3E6.4050502@sorbs.net> <1011094695.20140616183233@serebryakov.spb.ru> In-reply-to: <1011094695.20140616183233@serebryakov.spb.ru> Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2014 14:35:49 -0000 Lev Serebryakov wrote: > Hello, Michelle. > You wrote 16 июня 2014 г., 17:40:54: > > >>> I want some "dependant" ports to pick-up options set in "main" port, but >>> never ever show "config" dialog/UI. I've tried to set >>> OPTIONS_NAME=cat_port, and it set OPTIONS_FILE_SET and OPTIONS_FILE_UNSET >>> variables, but not PORT_OPTIONS variable, as this exact ("dependant") port >>> doesn't have OPTIONS_DEFINE (of course). >>> >>> What is proper way to use options in this situation? OPTIONS_SLAVE doesn't >>> look right, as it override options file. I need something like >>> OPTIONS_SLAVE_DEFAULT, which will work as OPTIONS_SLAVE if here is no >>> ${OPTIONS_FILE} and could be overridden by ${OPTIONS_FILE}, if it is >>> present. >>> >>> >>> > MS> Have a look at editors/pico-alpine and mail/alpine that does exactly > MS> what you're asking I think. > Nope. "make config" in "editoris/pico-alpine" shows dialog. I don't want > it at all. > > > Yes but that option set is different from that in alpine ... OPTIONS= will clear any options (or just remove the options in that port) Michelle -- Michelle Sullivan http://www.mhix.org/