On Wed, Nov 22, 2006 at 04:20:47AM +0100, Jorge Acereda wrote: > Hi, > > Could install-info be patched so that it doesn't try to write to dir > when invoked during a .deb build? That is, when --info-dir matches > /sw/src/fink.build/root-.* (or whatever temporary directory the user > has chosen). > > That way, we would save a lot of time patching this sort of stuff... > > It might not be elegant, but from a practical point of view it could > be a time-saver. > > Am I missing something? Any problem with that approach?
Is there sufficient need for this to justify hacking a global program, vs just patching the few packages that need it? IIRC, Makefile from modern automake automatically disables the install-info when installing into an alternate DESTDIR and/or only support a different variant of install-info than we have. In that latter case, Makefile sometimes automatically disables install-info. Other times, one has to hack Makefile in order to fix the install-info syntax for our variant, so if one is already hacking that Makefile call, may as well just comment it out. Making a global change to a basic utility of fink means having to verify that it doesn't break any existing packages that use it, which means a lot of package rebuilding. But it also means having to perpetuate that hack essentially forever into the future? Granted, install-info is a fairly stable piece of code, but we'd never know what package(s) had started relying on the hack, so we could never remove it without doing a lot of package rebuilding to find those packages that were relying on it. The builddir path is a runtime variable in fink (via fink.conf), which essentially means install-info has to fire up fink itself every time it runs. Note that most invocations of install-info are not done in the context of package building, so that's a relatively expensive and often-paid processing cost for a relatively rare situation. IMO, seems easier overall to hack the few packages that need a fix than to make a system-wide change for the benefit of a relatively few packages. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel