From owner-freebsd-questions@FreeBSD.ORG Wed Jan 24 13:17:31 2007 Return-Path: X-Original-To: questions@freebsd.org 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 D613D16A400 for ; Wed, 24 Jan 2007 13:17:31 +0000 (UTC) (envelope-from questions@totaldiver.net) Received: from mail.totaldiver.net (fl-209-26-20-205.sta.embarqhsd.net [209.26.20.205]) by mx1.freebsd.org (Postfix) with ESMTP id ACFBD13C441 for ; Wed, 24 Jan 2007 13:17:31 +0000 (UTC) (envelope-from questions@totaldiver.net) Received: from mail.totaldiver.net (localhost [127.0.0.1]) by mail.totaldiver.net (Postfix) with ESMTP id 0E00DB873 for ; Wed, 24 Jan 2007 08:18:49 -0500 (EST) Received: from 192.168.1.2 (SquirrelMail authenticated user questions@totaldiver.net) by mail.totaldiver.net with HTTP; Wed, 24 Jan 2007 08:18:50 -0500 (EST) Message-ID: <1619.192.168.1.2.1169644730.squirrel@mail.totaldiver.net> Date: Wed, 24 Jan 2007 08:18:50 -0500 (EST) From: "Questions" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Subject: ports with -DBATCH X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2007 13:17:31 -0000 Hello, I'm writing a script to install a series of ports, and would like to use the following: cd /usr/ports/foo/bar make WITH_OPTION1=yes WITH_OPTION2=yes WITHOUT_ANOTHER=yes -DBATCH install That works as expected, but I would also like those settings written to the /var/db/ports/foobar/options file, so that future upgrades also include the choices I made during the batch install. I've scoured the /usr/ports/Mk/* files, and don't see anything useful for both BATCH and writing to the options file. Suggestions would be much appreciated. Jeff