From owner-freebsd-questions@FreeBSD.ORG Sun Oct 7 21:40:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A529D106564A for ; Sun, 7 Oct 2012 21:40:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 63E3E8FC0A for ; Sun, 7 Oct 2012 21:40:47 +0000 (UTC) Received: from r56.edvax.de (port-92-195-65-33.dynamic.qsc.de [92.195.65.33]) by mx01.qsc.de (Postfix) with ESMTP id D0ADE3CCD5; Sun, 7 Oct 2012 23:40:43 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q97LehWe006261; Sun, 7 Oct 2012 23:40:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 7 Oct 2012 23:40:43 +0200 From: Polytropon To: "Ronald F. Guilmette" Message-Id: <20121007234043.cadf5863.freebsd@edvax.de> In-Reply-To: <14763.1349644184@tristatelogic.com> References: <14763.1349644184@tristatelogic.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Building Ports: Is there a "make" equivalent for --batch ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2012 21:40:47 -0000 On Sun, 07 Oct 2012 14:09:44 -0700, Ronald F. Guilmette wrote: > Nowadays, whenever I use portinstall/portupgrade, I use the --batch > option, so that I don't have to sit around at the console, waiting > for and then accepting the default build options for a boatload of > depended-upon ports for whatever I am actually trying to install or > upgrade. A workaround (and not directly the answer to your question) is to process the config dialogs before starting the build: # make config-recursive Once set, the options won't be requested on a second run. According to "man 7 ports", there's a BATCH setting, but it is descibed as: If defined, only operate on a port if it can be installed 100% automatically. If the default settings are okay for you, simply "entering through" the dialogs should work fine. I don't see any other significant reference in the manpage, so using portinstall --batch (or portmaster's equivalent if you're using that tool) should be the best solution. > The problem is that these days, portupgrade itself is, apparently, > dependent upon a whole slew of other ports. Usually portmaster is considered an alternative, and instructions on how to use it to solve port changes are provided when an entry to /usr/ports/UPDATING is added. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...