Dave Vasilevsky wrote:

This seems a little...er...specific. Maybe that's ok I guess, but it feels wrong somehow. If this is an ability that people find themselves wanting, maybe we should generalize it?

Yeah, couldn't really think of a way to do so that didn't look goofy...

We could have a Executables: option that lists name:path pairs, and could eventually let users specify alternatives for anything. Or a exec-prefix dir where users could just drop symlinks to executables they'd prefer Fink would use. Or maybe Fink should even put the Fink paths at the *end* of PATH instead of the beginning, so it uses whatever the user has in his|her path (at the risk of choosing something bad).

I'm not such a big fan of the "magic path" idea of symlinks, we already have enough uncertainty in what is ending up in the user's path, I'd rather when we get a bug report from a user, it's obvious that it's calling /sw/bin/pbzip2 rather than just 'bzip2' that happens to point to a symlink without us knowing it...

Opinions, anyone?

Honestly, I was originally just going to make the bzip2 bit use pbzip2 if it exists, but figured that was forcing the user into something that's still technically beta code, so I thought I'd make it configurable.

I don't really like the specificity either, but couldn't think of a better way to do it, although I suppose we could do something like this if it really needs to be generalized:

Executables: <<
  bzip2: /sw/bin/pbzip2 -q
<<

(hah!  heredocs in fink.conf!)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to