From owner-freebsd-questions@FreeBSD.ORG Mon Dec 20 16:13:08 2004 Return-Path: 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 DF68916A4CE for ; Mon, 20 Dec 2004 16:13:08 +0000 (GMT) Received: from smtp804.mail.sc5.yahoo.com (smtp804.mail.sc5.yahoo.com [66.163.168.183]) by mx1.FreeBSD.org (Postfix) with SMTP id 215B643D1F for ; Mon, 20 Dec 2004 16:13:08 +0000 (GMT) (envelope-from krinklyfig@spymac.com) Received: from unknown (HELO smogmonster.com) (jtinnin@pacbell.net@64.173.26.30 with login) by smtp804.mail.sc5.yahoo.com with SMTP; 20 Dec 2004 16:13:07 -0000 From: Joshua Tinnin To: Joshua Lokken Date: Mon, 20 Dec 2004 08:13:05 -0800 User-Agent: KMail/1.7.2 References: <003b01c4e489$6497d0e0$9a11a8c0@d3stomc> <41C4F0CC.30700@nbritton.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412200813.06057.krinklyfig@spymac.com> cc: Kevin Smith cc: Nikolas Britton cc: freebsd-questions@freebsd.org cc: Tom Connolly Subject: Re: (cvsup newbie questions) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 16:13:09 -0000 On Monday 20 December 2004 06:08 am, Joshua Lokken wrote: > On Sat, 18 Dec 2004 21:09:00 -0600, Nikolas Britton > wrote: > > Joshua Tinnin wrote: > > >Well, if you build a port with make options once, then it will > > > remember your make options. Otherwise, you can enter make > > > arguments in /etc/pkgtools.conf, although this only helps if you > > > know what arguments the ports you're installing might need. > > > > What do you mean it "remembers" what make options I used... if I do > > a portupgrade it without setting MAKE_ARGS in pkgtools.conf it will > > remember my make options from the last time I built it? Also how to > > I make it "unremember" make options I don't want anymore? > > I don't know about that. If I want portupgrade to use custom make > flags, I specify them in /usr/local/etc/pkgtools.conf. To remove > options from a previous build, you can do: > > # rm /var/db/ports//options IIRC, pkgtools.conf only works with the pkgtools apps, like portupgrade. I don't think it works with making the port from the tree itself (like if you cd to the folder and make install clean), but options you use in building it from the ports tree will be stored in /var/db/ports//options, as mentioned above. This is what I meant by "remembered." > > Also, semi related, whats this "Generating INDEX-5 - please wait.." > > thing and why does it take an hour for it to generate? > > The machine is building the ports collection INDEX-5 file from the > make describe output of all of the ports. You can simplify this > process by doing 'make fetchindex' after you cvsup each time. Yes, although you should cd /usr/ports before you do that. I guess the way people are doing this now is cvsup ports, cd /usr/ports && make fetchindex && portsdb -u (this last step will be done automatically when it needs to be done, but you can do it anyway after a ports tree update). You can also use /usr/ports/sysutils/p5-FreeBSD-Portindex , which speeds up the process of making a new INDEX locally. - jt