From owner-freebsd-ports@FreeBSD.ORG Wed Oct 10 09:08:40 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 1129232E; Wed, 10 Oct 2012 09:08:40 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from micro.madpilot.net (micro.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id A4B298FC08; Wed, 10 Oct 2012 09:08:39 +0000 (UTC) Received: from micro.madpilot.net (localhost [127.0.0.1]) by micro.madpilot.net (Postfix) with ESMTP id 3Xc8cK3PBqz26P; Wed, 10 Oct 2012 11:08:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=mail; t=1349860108; x= 1351674509; bh=Jsu511On7emgfCHN2hkxnpPAnfPbsg8lD//PS/rZLck=; b=k R/Y3FwPLX+Xyv+3yh0qSc1JUaEoX+6++zjkZF8fXhC8yuFO+HdFG/aSIDSTLOHqM 6BVMB0FZSi6Ce+yFCKnB5yt/lxwqAOpSofLKOEu/uf9vaEa8O3eDq3Sy6Lf1e60d oENIjAyM0qB9I9C5jasVYHDJcbr92hSm/r1Y+lhhqk= X-Virus-Scanned: amavisd-new at madpilot.net Received: from micro.madpilot.net ([127.0.0.1]) by micro.madpilot.net (micro.madpilot.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3OCrRy_M4XpZ; Wed, 10 Oct 2012 11:08:28 +0200 (CEST) Received: by micro.madpilot.net (Postfix, from userid 1000) id 3Xc8cC6Qvyz26N; Wed, 10 Oct 2012 11:08:27 +0200 (CEST) Date: Wed, 10 Oct 2012 11:08:27 +0200 From: Guido Falsi To: Michael Reifenberger Subject: Re: OPTIONSNG and batch compiling Message-ID: <20121010090827.GB70400@micro.madpilot.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 9.1-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, portmgr@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, 10 Oct 2012 09:08:40 -0000 On Wed, Oct 10, 2012 at 10:43:42AM +0200, Michael Reifenberger wrote: > Hi, > in order to maintain my ports more easily I use portmaster in batch mode. > Therefore I have all relevant WITH_*, WITHOUT_* and other options in > /etc/make.conf configured already. > > The problem now is that OPTIONSNG doesn't respect them in all cases. > > For example: > mail/alpine does respect having WITH_CONS25=YES in /etc/make.conf > > mail/roundcube does NOT respect having WITH_PGSQL=YES in /etc/make.conf > > It seems that the construct: > OPTIONS_SINGLE= DB > OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE > OPTIONS_DEFAULT=MYSQL > does only work interactively. > > Any workarounds/fixes possible? You should add this to make.conf: OPTIONS_SET+= CONS25 PGSQL and this should be picked up by optionsng. These can also be set per port. Also keep the old WITH_* directives for the time being since not all ports have been migrated. There are also knobs on the command line: make WITH="CONS25 PGSQL" For reference: http://wiki.freebsd.org/Ports/Options/OptionsNG -- Guido Falsi