From owner-freebsd-ports-announce@FreeBSD.ORG Fri Jun 14 18:45:53 2013 Return-Path: Delivered-To: ports-announce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 58C29ADA for ; Fri, 14 Jun 2013 18:45:53 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay020.isp.belgacom.be (Mailrelay020.isp.belgacom.be [195.238.6.95]) by mx1.freebsd.org (Postfix) with ESMTP id F38F41227 for ; Fri, 14 Jun 2013 18:45:52 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlIGAJ5ju1FR8axM/2dsb2JhbABbgwnAXRd0gwBfFhgDAgECAScxCAEBiA6ZYKASj2WDSgOTb5UUgxE6 Received: from 76.172-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.172.76]) by relay.skynet.be with ESMTP; 14 Jun 2013 20:44:42 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r5EIifjO005334 for ; Fri, 14 Jun 2013 20:44:41 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Message-ID: <51BB6499.9090604@FreeBSD.org> Date: Fri, 14 Jun 2013 20:44:41 +0200 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130517 Thunderbird/17.0.6 MIME-Version: 1.0 To: ports-announce@FreeBSD.org X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 14 Jun 2013 18:53:51 +0000 Subject: [FreeBSD-Ports-Announce] Configuring options in make.conf X-BeenThere: freebsd-ports-announce@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Important news and instructions about the FreeBSD " ports collection" \[moderated\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 18:45:53 -0000 Hi all, When building a port for the first time a dialog may appear to configure options for that port. This configuration is saved such that later builds no longer show the dialog. This behaviour has now been extended to include options set in /etc/make.conf. It allows you to configure options like DOCS, NLS, X11, etc. once for all ports and not have option dialogs pop up if those are the only options. You can still make the dialog appear by running "make config". The following variables can be used in make.conf to configure options. They are processed in the order listed below, i.e. later variables override the effects of previous variables. Options saved using the options dialog are processed right before OPTIONS_SET_FORCE. OPTIONS_SET - List of options to enable for all ports. OPTIONS_UNSET - List of options to disable for all ports. ${UNIQUENAME}_SET - List of options to enable for a specific port. ${UNIQUENAME}_UNSET - List of options to disable for a specific port. OPTIONS_SET_FORCE - List of options to enable for all ports. OPTIONS_UNSET_FORCE - List of options to disable for all ports. ${UNIQUENAME}_SET_FORCE - List of options to enable for a specific port. ${UNIQUENAME}_UNSET_FORCE - List of options to disable for a specific port. To know the UNIQUENAME of a port you can run "make -V UNIQUENAME" in a port directory. An example configuration is given below. OPTIONS_SET= NLS # enable NLS for all ports unless configured # otherwise using the option dialog OPTIONS_UNSET= DOCS # aka NOPORTDOCS # configuration for xorg-server overriding the configuration from the # option dialog xorg-server_SET_FORCE= AIGLX xorg-server_UNSET_FORCE=HAL SUID