From owner-freebsd-questions@FreeBSD.ORG Fri Jan 28 09:00:59 2005 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 3C49916A4CE for ; Fri, 28 Jan 2005 09:00:59 +0000 (GMT) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC29843D39 for ; Fri, 28 Jan 2005 09:00:58 +0000 (GMT) (envelope-from olivier.certner@free.fr) Received: from lon92-2-82-226-188-149.fbx.proxad.net (unknown [82.226.188.149]) by postfix4-1.free.fr (Postfix) with ESMTP id D44ED2819AD; Fri, 28 Jan 2005 10:00:57 +0100 (CET) From: Olivier Certner To: "Glenn E. Sieb" Date: Fri, 28 Jan 2005 10:00:14 +0100 User-Agent: KMail/1.7 References: <200501280034.13921.olivier.certner@free.fr> <41F97D2D.4040302@wingfoot.org> In-Reply-To: <41F97D2D.4040302@wingfoot.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200501281000.14562.olivier.certner@free.fr> cc: freebsd-questions@freebsd.org Subject: Re: Keep compile options through upgrade 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: Fri, 28 Jan 2005 09:00:59 -0000 Thanks for these 2 answers. I didn't have seen this file mentioned in the= =20 portupgrade manpage, so I could have been searching for a while before=20 finding... Le Vendredi 28 Janvier 2005 00:45, Glenn E. Sieb a =E9crit=A0: > Olivier Certner wrote: > > Hello all, > > > > Is there an easy way to keep/retrieve the options last used to compile a > >given port? This could be used with portupgrade to upgrade to a newer > > version while retaining the previous build-time configuration (of course > > this won't work if the options available change). > > > > Maybe I could put all the options in make.conf, but in this case I fear > > that this file would become really messy. Moreover, if options are shar= ed > > by several ports, no fine grain tuning per port will be possible. > > > > Any advices? > > Check /usr/local/etc/pkgtools.conf > > Some ports keep things in /var/db/ports too... > > Best, > --Glenn