Date: Wed, 21 Apr 2004 07:31:19 -0700 From: "Michael C. Shultz" <ringworm@inbox.lv> To: freebsd-ports@freebsd.org Subject: Re: Lost portupgrade functionality building INDEX Message-ID: <200404210731.20389.ringworm@inbox.lv> In-Reply-To: <20040421012641.GA36748@spamcop.net> References: <20040420210902.GA35257@spamcop.net> <20040420222517.GA68354@xor.obsecurity.org> <20040421012641.GA36748@spamcop.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 20 April 2004 06:26 pm, Jim Trigg wrote: > On Tue, Apr 20, 2004 at 03:25:17PM -0700, Kris Kennaway wrote: > > On Tue, Apr 20, 2004 at 05:09:02PM -0400, Jim Trigg wrote: > > > While I understand the reasoning behind making portsdb -U use "make > > > index" behind the scenes, it kills a bit of functionality. portsdb -U > > > no longer honors pkgtools.conf, so options set there will not be > > > reflected in the dependencies shown in INDEX. If I knew ruby, I'd try > > > to write a new portsdb -U function, but I don't. Is there any way we > > > can get this functionality back while maintaining compatibility with > > > make index in other ways? > > > > Set your config options in make.conf instead of pkgtools.conf. > > That's what I'm doing for the time being, but it loses the port-by-port > granularity. I can't, for instance, build one port with MySQL support, > another with PostgreSQL support, and another which could support either > with neither. > > Jim I just finished writing a port manager program that allows you to set the make options port by port in a config file. Too bad I finished it just in time for the port freeze, :( Anyways I'm filing a pr for it tonight and for your info The package may be downloaded at: https://sourceforge.net/projects/portmanager/ You would have to build it outside of the normal ports system for now by gunzip, tar -xf, ./configure, make. but it is written specifically for FreeBSD so no patching would be necessary. Here is the config file for my system: /usr/local/etc/portmanager/portmanager.conf #............................................ # port manager configuration file ver 00.00.00 #............................................................ #............................................................ # defaults: # command sequence | applies too | command line switch #............................................................ # 1 ALL "make clean" # 2 ALL "make" # 3 ALL "pkg_create -b {pkg id}" # 4 ALL "make deinstall" # 5 ALL "make reinstall" # 6 ALL "rm -f {pkg id}" # 7 ALL "make package" # 8 ALL "make clean" #............................................................ # user adjustment area: add command line switch to default # commands for specific ports in this section #............................................................ #............................................................ # command sequence | applies too | command line switch #............................................................ 2 textproc/docproj JADETEX=no 2 x11-toolkits/vte WITH_GLX=yes I am setting up the web site for it today so the home page isn't ready yet but the html'ified man page may be veiwed at: http://portmanager.sourceforge.net/portmanager.1.html -Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404210731.20389.ringworm>