1 Feb 02:35
Re: What to do about dependencies...
Markus W. Weissmann <mww <at> opendarwin.org>
2004-02-01 01:35:41 GMT
2004-02-01 01:35:41 GMT
On Jan 31, 2004, at 23:10, Benjamin Reed wrote: > Jordan Hubbard wrote: > >> B) Make Toby finish his "groups" enhancement so we can make all of >> the existing X11 ports group themselves into the X11 group. The >> group declaration code for X11 will then establish a *conditional* >> dependency on XFree86 if it can't find a full installation of it >> already on the system (checking for "markers" like xterm and >> libX11.a). Then we only have a single location we need to change if >> we come up with better ways of dealing with this in the future and >> all those X11 ports don't need to duplicate the go-look-for-it code, >> they just swap their existing "depends_lib lib:libX11.6:XFree86" (or >> depends_run bin:xterm:..) lines for a "group x11" and they're done. >> What to people think? > > If it helps any, this is kind of how it works in Fink. In most cases, > we always depend on packages from Fink, but in cases where it is > possible to cleanly interact with existing system implementations of > things, fink makes "virtual" packages internally that meet the > dependencies, based on the existence of some files (essentially like > your current regex stuff, implemented in perl). > > We provide virtuals for X11, java, and a few other things that you > guys handle with variants and platform stuff (darwin version, macosx > version, available gcc version(s), etc.) > I think that the ultimate solution for this will be something like the(Continue reading)
RSS Feed