Date: Tue, 25 Feb 2003 16:37:38 -0600 From: Mike Meyer <mwm-dated-1046644658.41270e@mired.org> To: Antoine Jacoutot <ajacoutot@lphp.org> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: saving port settings (Was: stupid question) Message-ID: <15963.61490.1990.432210@guru.mired.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
In <200302252329.31019.ajacoutot@lphp.org>, Antoine Jacoutot <ajacoutot@lphp.org> 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. <mike -- Mike Meyer <mwm@mired.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15963.61490.1990.432210>