From owner-freebsd-questions Tue Feb 25 14:37:41 2003 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 4A71037B401 for ; Tue, 25 Feb 2003 14:37:40 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 3C36343F85 for ; Tue, 25 Feb 2003 14:37:39 -0800 (PST) (envelope-from mwm-dated-1046644658.41270e@mired.org) Received: (qmail 21753 invoked from network); 25 Feb 2003 22:37:38 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 25 Feb 2003 22:37:38 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15963.61490.1990.432210@guru.mired.org> Date: Tue, 25 Feb 2003 16:37:38 -0600 To: Antoine Jacoutot Cc: "freebsd-questions@freebsd.org" Subject: Re: saving port settings (Was: stupid question) In-Reply-To: <200302252329.31019.ajacoutot@lphp.org> References: <1046198601.3e5bb9499e7b5@webmail.lphp.org> <15963.58608.965159.133416@guru.mired.org> <200302252329.31019.ajacoutot@lphp.org> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.70 (Pensive) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <200302252329.31019.ajacoutot@lphp.org>, Antoine Jacoutot typed: > > Use portupgrade, from the ports tree. Then you can do "portupgrade > > imapd" to update it, and it'll look in $(PREFIX)/etc/pkgtools.conf to > > see what settings you want to use. > Hum I can't find anything to resolve my problem within that file. Quoting the comments in my copy of that file: # MAKE_ARGS: hash # # This is a hash of ports glob => arguments mapping. portupgrade(1) # and portinstall(1) look it up to pick command line arguments to # pass to make(1). You can use wildcards ("ports glob"). If a # port/package matches multiple entries, all the arguments are # joined using the space as separator. # # cf. -m/--make-args of portupgrade(1), ports_glob(1) # # e.g.: # MAKE_ARGS = { # 'databases/mysql323-*' => 'WITH_CHARSET=ujis', # } That looks like exactly what you're looking for. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message