From: Alexander K. H. <ha...@ld...> - 2004-11-29 14:13:49
|
On Nov 29, 2004, at 8:54 AM, Rich Johnson wrote: > Hi folks-- > > How do I modify and install a fink package so that subsequent > update-all doesn't overwrite the modifications? > > If you must know, I want to change: > #ifndef MAC_OS_X_VERSION_10_3 > to > #if !defined( MAC_OS_X_VERSION_10_3 ) || ( MAC_OS_X_VERSION_10_3 > > MAC_OS_X_MAX_VERSION_ALLOWED ) > > to enable compilation. > > Thanks, > --rich 0) Make sure your Trees: line in fink.conf ends with "local/main" 1) Don't make your modifications in the main fink trees but instead copy the files over to your local tree. If local/main is at the end of the Trees: line, then packages there get precedence over those in the main trees. 2) This, of course, doesn't protect the packages if a newer revision comes out. You can make the revision larger if you so desire. -- Alexander Hansen Fink Documentarian [Day Job] Levitated Dipole Experiment http://www.psfc.mit.edu/LDX |