From owner-freebsd-ports@FreeBSD.ORG Wed Nov 3 09:21:04 2004 Return-Path: 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 0F63A16A4CE for ; Wed, 3 Nov 2004 09:21:04 +0000 (GMT) Received: from falbala.udag.de (falbala.udag.de [62.146.33.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9B4943D55 for ; Wed, 3 Nov 2004 09:21:03 +0000 (GMT) (envelope-from geraud.continsouzas@wanadoo.fr) Received: from [192.168.0.110] (gw.udag.de [62.245.204.38]) by falbala.udag.de (Postfix) with ESMTP id 0ED403914DD; Wed, 3 Nov 2004 10:21:02 +0100 (CET) From: Geraud CONTINSOUZAS To: Drew Tomlinson In-Reply-To: <4187D605.6080203@mykitchentable.net> References: <4187D21F.4050407@cisco.com> <4187D605.6080203@mykitchentable.net> Content-Type: text/plain Message-Id: <1099473662.704.13.camel@komputer.aspic.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 03 Nov 2004 10:21:02 +0100 Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org cc: "Mikhail V.Paremski" Subject: Re: Background port install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: geraud.continsouzas@wanadoo.fr List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 09:21:04 -0000 On Tue, 2004-11-02 at 19:46, Drew Tomlinson wrote: > On 11/2/2004 10:29 AM Mikhail V.Paremski wrote: > > > Hi, > > > > What the options are there to install/upgrade ports in background? Are > > there any possibilities to remove interactive menu at all and set > > configurable options in /etc/make.conf or environment variables only? > > > > Thanks, > > > > Mikhail. > > As I understand it, setting BATCH=YES in /etc/make.conf will accept all > of the interactive defaults for all ports. Or you can set options for > ports individually in /usr/local/etc/pkgtools.conf if you use > portupgrade. I suspect there's some way to do it individually without > portupgrade as well. > Indeed, it's been discussed several times in the list, but you can set some 'if' conditions in your make.conf regarding which directory you are when you invoke make. example shamelessly taken from a post[1] in this list : ------------------------------------------------------- .if ${.CURDIR:M*/graphics/gimp*} WITH_PYTHON= true WITHOUT_PRINT= true WITH_HTML_HELP_BROWSER=true .endif For the install in background, I usually use screen during my monthly 'portupgrade -raf' sessions. my 0.02$. Cheers, Geraud [1] Ulrich Spoerlein on 'configuring ports via Makefile.local' July 2004