From owner-freebsd-questions@FreeBSD.ORG Thu Dec 1 21:39:50 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6490316A422 for ; Thu, 1 Dec 2005 21:39:50 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id F375243D46 for ; Thu, 1 Dec 2005 21:39:48 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 39580D1BC1D for ; Thu, 1 Dec 2005 16:38:07 -0500 (EST) Received: from frontend2.messagingengine.com ([10.202.2.151]) by frontend1.internal (MEProxy); Thu, 01 Dec 2005 16:38:07 -0500 X-Sasl-enc: 1Td2sZ2ZV5cfO7hdB/Nyx8+G/Qx5yTO+EsfmkLJ9XSOq 1133473084 Received: from gumby.localdomain (88-104-192-181.dynamic.dsl.as9105.com [88.104.192.181]) by frontend2.messagingengine.com (Postfix) with ESMTP id B2CF057146D for ; Thu, 1 Dec 2005 16:38:04 -0500 (EST) From: RW To: freebsd-questions@freebsd.org Date: Thu, 1 Dec 2005 21:38:04 +0000 User-Agent: KMail/1.8.3 References: <200511301300.55571.ashley.moran@codeweavers.net> In-Reply-To: <200511301300.55571.ashley.moran@codeweavers.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512012138.05647.list-freebsd-2004@morbius.sent.com> Subject: Re: Questions about make arguments for ports 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: Thu, 01 Dec 2005 21:39:50 -0000 On Wednesday 30 November 2005 13:00, Ashley Moran wrote: > Hello, > > When upgrading a machine from FreeBSD 5.4 to 6.0 I came across the problem > of how to re-compile all the ports to use FreeBSD 6 libraries so I can > ditch the compat5x port. Actually you can ditch it anyway, all of the library are either part of 6.0 or left behind from 5.4, but it's good to rebuild. > man portupgrade I should # portupgrade -aRf to force a re-compile but that The trouble with portupgrade -af is that it is not restartable. I'd use either the latest portmanager, or something like: portupgrade -f '<2005-11-30 20:37' See pkg_glob(1) > then brought up the issue of how to configure each build. I found the > section in pkgtools.conf that lets you specify arguments to pass to make > but how do I deal with ports that have a config make target? > > I mean I could add MAKE_ARGS = { 'java/jdk115' => 'WITHOUT_WEB=1' } to > pkgtools.conf, but is there a way to specify these arguments in this file, > or is there no choice but to configure manually first time? If you use BATCH=yes, most ports will do their best to come up with sensible settings based on the arguments you supply.