From owner-freebsd-questions@FreeBSD.ORG Wed Jan 26 10:52:47 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 2FDB216A552 for ; Wed, 26 Jan 2005 10:52:47 +0000 (GMT) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2721543D41 for ; Wed, 26 Jan 2005 10:52:46 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])j0QAqfjd004736; Wed, 26 Jan 2005 12:52:43 +0200 Received: by orion.daedalusnetworks.priv (Postfix, from userid 1001) id 322C32A42F; Wed, 26 Jan 2005 12:52:41 +0200 (EET) Date: Wed, 26 Jan 2005 12:52:41 +0200 From: Giorgos Keramidas To: Nikolas Britton Message-ID: <20050126105241.GB829@orion.daedalusnetworks.priv> References: <41F70EC3.5000805@nbritton.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41F70EC3.5000805@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: Wed, 26 Jan 2005 10:52:47 -0000 On 2005-01-25 21:30, Nikolas Britton wrote: > Lets say I have BATCH=yes (/etc/make.conf) and I have a port with a > menu that turns on some flags i.e.: > > OPTIONS= DEBUG "Build a debugging image" off \ > LOGGING "Enable additional log messages" off \ > OPTIMIZED_CFLAGS "Enable some additional optimizations" > off \ > XFT "Enable support for anti-aliased fonts" on \ > SMB "Enable smb:// URI support using gnomevfs" off > > 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. - Giorgos