From owner-freebsd-ports@FreeBSD.ORG Thu Jun 19 23:18:52 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 DD9658FA; Thu, 19 Jun 2014 23:18:52 +0000 (UTC) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C04362578; Thu, 19 Jun 2014 23:18:51 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 882C52842F; Fri, 20 Jun 2014 01:18:47 +0200 (CEST) Received: from [192.168.1.2] (ip-89-177-49-222.net.upcbroadband.cz [89.177.49.222]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 28C2328426; Fri, 20 Jun 2014 01:18:46 +0200 (CEST) Message-ID: <53A36FD5.7020300@quip.cz> Date: Fri, 20 Jun 2014 01:18:45 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Marco Steinbach Subject: Re: How can I override global OPTIONS_UNSET for specific port in make.conf? www/xcache References: <53A33F83.7050807@quip.cz> <53A35AE9.8090702@executive-computing.de> In-Reply-To: <53A35AE9.8090702@executive-computing.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports , Baptiste Daroussin 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: Thu, 19 Jun 2014 23:18:52 -0000 Marco Steinbach wrote: > Miroslav Lachman schrieb: >> I don't need DOCS, EXAMPLES etc. for each port as I normaly do not use >> them on servers. >> I have this line in make.conf >> >> OPTIONS_UNSET= X11 GUI CUPS DOCS EXAMPLES NLS >> >> Now I need www/xcache port installed with EXAMPLES. >> I tried following in make.conf: >> >> xcache_SET= EXAMPLES >> >> or >> >> xcache_SET_FORCE= EXAMPLES >> >> In both cases, xcache is installed without EXAMPLES. >> >> So how can I have globally disabled EXAMPLES and enable it only for >> one specific port? > > After some testing, I think this could be a bug in the handling of > PORTEXAMPLES / PORTDOCS, since flipping EXAMPLES / DOCS options (and any > other options I tried) with these switches works as expected. > > I'll try and have a go at this. Thank you for your investigation. I didn't have a time to go that deep in to this problem so I asked on the mailing list if I am doing something wrong or not. I will try to take a closer look this weekend. Miroslav Lachman