From owner-freebsd-ports@FreeBSD.ORG Mon Feb 27 18:09:25 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B934016A420 for ; Mon, 27 Feb 2006 18:09:25 +0000 (GMT) (envelope-from ade@lovett.com) Received: from mail.lovett.com (foo.lovett.com [67.134.38.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DF4843D45 for ; Mon, 27 Feb 2006 18:09:25 +0000 (GMT) (envelope-from ade@lovett.com) Received: from hellfire.canal.lovett.com ([172.16.32.20]:53969) by mail.lovett.com with esmtpa (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FDmoE-000EMp-C1; Mon, 27 Feb 2006 10:09:22 -0800 In-Reply-To: <790a9fff0602270947y5dd9c98dkd26fc17f641cc3e7@mail.gmail.com> References: <867j7gd8kw.fsf@PECTOPAH.shenton.org> <790a9fff0602270947y5dd9c98dkd26fc17f641cc3e7@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <431EE15A-9498-4387-8DA5-DB293079AC4A@FreeBSD.org> Content-Transfer-Encoding: 7bit From: Ade Lovett Date: Mon, 27 Feb 2006 10:08:51 -0800 To: Scot Hetzel X-Mailer: Apple Mail (2.746.2) Sender: ade@lovett.com Cc: ports@freebsd.org Subject: Re: Which ports store/use OPTIONS (/var/db/ports/portname/options)? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 18:09:25 -0000 On Feb 27, 2006, at 09:47 , Scot Hetzel wrote: > NOTE: reason 2 & 3 can be solved by setting the BATCH variable when > building the port, but it then doesn't allow you to set OPTIONS on the > first time the port is built. Instead it uses the ports default > options. That's what "make config-recursive" is for. When installing something through ports that is likely to have a bunch of dependencies, some of which may have options, and you want to leave the build unattended, it becomes a two stage process: cd /usr/ports/foo/bar make config-recursive ... [it'll trawl through the dependency chain, popping up the OPTIONS dialog for any ports] ... make install -aDe