From owner-freebsd-ports@FreeBSD.ORG Mon Oct 8 08:37:48 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 ACD30106564A for ; Mon, 8 Oct 2012 08:37:48 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp3.insight.synacor.com [208.47.185.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6EC778FC08 for ; Mon, 8 Oct 2012 08:37:47 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=RdJK+3M1i+XwzfW2MV68c28t6Ch3YKdlhdoD4NilP7w= c=1 sm=0 a=cDV6mq6OTBYA:10 a=jLN7EqiLvroA:10 a=ouFJV8awKD_4UluOH-cA:9 a=AcdsImxJPJ9Yo6Ye3TGm+Q==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Authentication-Results: smtp02.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Received-SPF: softfail (smtp02.insight.synacor.com: transitional domain insightbb.com does not designate 74.134.34.76 as permitted sender) Received: from [74.134.34.76] ([74.134.34.76:39961] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id D5/88-07499-AD092705; Mon, 08 Oct 2012 04:37:47 -0400 Date: Mon, 08 Oct 2012 04:37:46 -0400 Message-ID: From: "Thomas Mueller" To: freebsd-ports@freebsd.org Cc: "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 08:37:48 -0000 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. Tom