From owner-freebsd-stable@FreeBSD.ORG Tue Feb 26 12:59:34 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BFC61065676 for ; Tue, 26 Feb 2008 12:59:34 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id CAD7E13C467 for ; Tue, 26 Feb 2008 12:59:33 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1260389nfb.33 for ; Tue, 26 Feb 2008 04:59:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=+OQRPCgrpvRblDtQ0OTbzUfgBMeGV509LAYposR7XjQ=; b=BTtg3VlttmnFqZ823z88mJN/G+ayYG8Fl0a/zJRO98n6colXui7rFAME//SmCchRIO2xdCMTOYN88CbxsNHVarGb08m6xUzsQ9r8wphphADATUAHKuD8qiQFLb57xC5LcOI4u6kGvi9QIoh27o7NkOzfB1q24/vbpWFHjkZEZMg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nyjUERu8hRm/BnZ5RwT3OZUfF5f5W7u2dhFxXd7Y1XlPXrjS6RKcbvDbOK67qM1V5yI6Mse4l9YoZQgEe3d7ChKoOfzoBivKNlx1S/oiPvwIe4rMDz2ZvZAWUd5ZUKDqYpFcSN3q0pfbVX3VIlyqjv1j5aZil2Jt5KHjpYQL7i4= Received: by 10.86.62.3 with SMTP id k3mr4389944fga.71.1204029217373; Tue, 26 Feb 2008 04:33:37 -0800 (PST) Received: by 10.86.99.17 with HTTP; Tue, 26 Feb 2008 04:33:37 -0800 (PST) Message-ID: <790a9fff0802260433y63f887e8y56dea11f36270b2e@mail.gmail.com> Date: Tue, 26 Feb 2008 06:33:37 -0600 From: "Scot Hetzel" To: "Jeremy Chadwick" In-Reply-To: <20080226080349.GA20881@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080225215522.r3jb5v548o0scks8@webmail.1command.com> <20080226070516.GB32690@team.vega.ru> <20080225233523.acl5s1lo8wgsw4wg@webmail.1command.com> <20080226080349.GA20881@eos.sc1.parodius.com> Cc: freebsd-stable@freebsd.org, "Chris H." Subject: Re: make KNOBS X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2008 12:59:34 -0000 On Tue, Feb 26, 2008 at 2:03 AM, Jeremy Chadwick wrote: > Additionally, the WITH/WITHOUT variables seen in the Makefile are not > always what they seem. For ports that use OPTIONS, you cannot define > these on the command-line (e.g. make WITHOUT_FRUIT=yes); you absolutely > MUST do 'make config' and then toggle them there. (This is one piece of > the OPTIONS framework which I have always disliked, because some of us > use /etc/make.conf to define WITH/WITHOUT variables, and prefer to do > "cd /usr/ports/whatever && make clean && make && make install" and not > have something interactive pop up. That's for another discussion > though...) > You should be able to do: cd /usr/ports/whatever && make clean && make -DBATCH && make -DBATCH install Check the port to see if it disables parts of its build/install process when BATCH is defined. Another way would be to define _OPTIONS_OK=yes in /etc/make.conf, but this is an internal variable to bsd.ports.mk. Also defining WITH/WITHOUT variables in /etc/make.conf and/or ${PREFIX}/etc/ports.conf (sysutils/portconf) should work with ports that use the OPTIONS framework. Scot