From owner-freebsd-questions@FreeBSD.ORG Thu Jan 27 23:47:04 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 1674E16A4CE for ; Thu, 27 Jan 2005 23:47:04 +0000 (GMT) Received: from wingfoot.org (caduceus.wingfoot.org [64.32.179.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B23143D41 for ; Thu, 27 Jan 2005 23:46:58 +0000 (GMT) (envelope-from ges+lists@wingfoot.org) Received: from localhost (localhost.wingfoot.org [127.0.0.1]) by wingfoot.org (Postfix) with ESMTP id E8F3C1F448F; Thu, 27 Jan 2005 18:46:23 -0500 (EST) Received: from wingfoot.org ([127.0.0.1]) by localhost (wingfoot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 86032-09; Thu, 27 Jan 2005 18:46:23 -0500 (EST) Received: from [127.0.0.1] (unknown [64.32.179.50]) by wingfoot.org (Postfix) with ESMTP id 9D8CA1F446F; Thu, 27 Jan 2005 18:45:56 -0500 (EST) Message-ID: <41F97D2D.4040302@wingfoot.org> Date: Thu, 27 Jan 2005 18:45:49 -0500 From: "Glenn E. Sieb" Organization: Wingfoot Organization User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Olivier Certner References: <200501280034.13921.olivier.certner@free.fr> In-Reply-To: <200501280034.13921.olivier.certner@free.fr> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at wingfoot.org 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: Thu, 27 Jan 2005 23:47:04 -0000 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 shared 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