From owner-freebsd-questions@FreeBSD.ORG Sat Jan 15 14:50:31 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 E676316A4CE for ; Sat, 15 Jan 2005 14:50:31 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0244443D1D for ; Sat, 15 Jan 2005 14:50:31 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by top.daemonsecurity.com (Postfix) with ESMTP id F076FFD01F; Sat, 15 Jan 2005 15:50:28 +0100 (CET) Message-ID: <41E92DAF.20507@locolomo.org> Date: Sat, 15 Jan 2005 15:50:23 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041114 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: "Daniel S. Haischt" References: <41E923A8.5090201@daniel.stefan.haischt.name> In-Reply-To: <41E923A8.5090201@daniel.stefan.haischt.name> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: [CLARIFICATION] portupgrade -a 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: Sat, 15 Jan 2005 14:50:32 -0000 Daniel S. Haischt wrote: > Hello, > > recently I did update my package tree using the > portupgrade command. I was allways in doubt whether > my ports will be build with the same WITH_FOO=yes > options during an update, as I did built them > manually before. > > After a successfull update of the Gimp, I did > notice that the Gimp wasn't built with the ... > > WITH_PYTHON=yes > > ... option. How can I ensure that each of the > WITH_XYZ knobs that I did specify during a manual > installation of a port, will be recognized during > an update as well? > > Should I, for example, specify those knobs in > /etc/make.conf? > Unfortunately this is not supported by all ports, but some ports opens an interactive menu for enabling/disabling build options and the configuration is then stored in /var/db/ports for future builds. This should replace setting options on the command line. AFAIK the idea is that all ports should/will support this in future++. Till then, the above problem will remain :-( It's not documented in the porters handbook, but it doesn't seem too difficult to add, but I'm not into the magic. If you have time, create an update of the Makefile and submit to the maintainer. You may take a look at eg. the mplayer-skins port to see how it works. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2