From owner-freebsd-ports@FreeBSD.ORG Mon Oct 8 09:17:00 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63F091065670 for ; Mon, 8 Oct 2012 09:17:00 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C10AB8FC12 for ; Mon, 8 Oct 2012 09:16:59 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1847828bkc.13 for ; Mon, 08 Oct 2012 02:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yRm6AB0dUvkKqAJe/XXUIvCsO8TivLfAIZcbGyFt5o0=; b=BiYcZgA1CQI0m3Z26FfK+xIBQ+iEtLUSMDX9JWnoqLb8J7f8EP/t2B7jEtml2CqipT T6ULOZ2wtajiJkgYxd35OBB8hY9XnGZpvwMDTTg9bcQH9LEDiijF5Dfr6RPRAARiyjQ7 1gcjsouTf8hwwU1AKzEcinCJQ3a6w03CjNMW6IgvAbYdExcTVxlYoYWGqYQ7YGIkWChx C5MiyhZfr5CVCLXWyns29cyipXyod/xwhamV2gX7FTH78ajYiIWecultxlHEkfB+rk4x 7GXN1ex3M47iMcdbr4EH3zXKWbL5XpSet28cRYmW7192MMYjbqvtrEHmhvzmEAFbOgxD pXQA== MIME-Version: 1.0 Received: by 10.204.4.200 with SMTP id 8mr5193410bks.81.1349687818388; Mon, 08 Oct 2012 02:16:58 -0700 (PDT) Received: by 10.204.50.197 with HTTP; Mon, 8 Oct 2012 02:16:58 -0700 (PDT) Received: by 10.204.50.197 with HTTP; Mon, 8 Oct 2012 02:16:58 -0700 (PDT) In-Reply-To: References: Date: Mon, 8 Oct 2012 10:16:58 +0100 Message-ID: From: Chris Rees To: Thomas Mueller Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List , "Ronald F. Guilmette" Subject: Re: Building Ports: Is there a "make" equivalent for --batch ? 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, 08 Oct 2012 09:17:00 -0000 On 8 Oct 2012 09:38, "Thomas Mueller" wrote: > > from Polytropon: > > > 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. > > This helps ("make config-recursive"), but depending on options chosen and > resulting added dependencies, the config dialog can appear again. So I run > "make config-recursive" repeatedly until it just returns to shell prompt. > That works most of the time. > > My biggest reason for doing this is to be able to run the portmaster or make > command with "|& tee build.log" at the end, and config dialog is very > hostile to this. It is also helpful to be able to allow a long portmaster or > portupgrade, or package build, to run unattended. make BATCH=yes Chris