From owner-freebsd-questions@FreeBSD.ORG Fri Jan 28 06:10:12 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 5029016A4D0 for ; Fri, 28 Jan 2005 06:10:12 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id B84BE43D54 for ; Fri, 28 Jan 2005 06:10:09 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a155.otenet.gr [212.205.215.155]) j0S6A5XN006725; Fri, 28 Jan 2005 08:10:07 +0200 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id j0S69vjj001372; Fri, 28 Jan 2005 08:09:57 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id j0S69vH4001371; Fri, 28 Jan 2005 08:09:57 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 28 Jan 2005 08:09:57 +0200 From: Giorgos Keramidas To: Nikolas Britton Message-ID: <20050128060956.GA1290@gothmog.gr> References: <41F70EC3.5000805@nbritton.org> <20050126105241.GB829@orion.daedalusnetworks.priv> <41F9B325.6090309@nbritton.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41F9B325.6090309@nbritton.org> cc: freebsd-questions Subject: Re: Simple questions, MAKE_ARGS in pkgtools.conf 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 06:10:12 -0000 On 2005-01-27 21:36, Nikolas Britton wrote: >Giorgos Keramidas wrote: >>On 2005-01-25 21:30, Nikolas Britton wrote: >>> If I do something like the following: >>> >>> MAKE_ARGS = { >>> 'www/firefox' => 'WITH_OPTIMIZED_CFLAGS=yes CPUTYPE=p4', >>> 'multimedia/gstreamer-*' => 'CPUTYPE=p2' >>> } >>> >>> Will portupgrade only build the port with what I put in MAKE_ARGS or >> >> Yes. >> >>> will it just append it to the ports config? >> >> Not sure about this. AFAIK, MAKE_ARGS are passed as command line >> options to Make when the port is built. So, if passing them on the >> command line works until now *and* saves them in the persistent port >> options cache, it will work with portupgrade too. > > what is the "persistent port options cache"? The options that a port was built with are saved in /var/db/ports, in directories of the form "/var/db/ports/{portname}". This is what I call the "persistent port options cache". Persistent because it survives reboots, upgrades of the ports tree, etc. Cache, because it will save you the typing and the popup dialog of the no-BATCH case. > and I'm still confused as you said yes and no to my question. Yes, portupgrade _will_ build the port with what you put in MAKE_ARGS. Yes, options on the command line (i.e. those passed by portupgrade) will affect the way make builds the port _and_ will be saved by the ports infrastructure in /var/db/ports. Hopefully, this was less confusing :)