Hi Dave,
On Aug 14, 2005, at 8:01 AM, David R. Morrison wrote:
I'm not sure which differences you have in mind, but one solution
to XCode changes which has been used in a few update files is to
put alternate versions of XCode commands or install locations. For
example, in the InstallScript of utils/contacts.info one finds the
line:
/usr/bin/install -m 755 build/contacts %i/bin || /usr/bin/install -
m 755 build/Deployment/contacts %i/bin
That's exactly what I was thinking of. I think a better solution
would be for Fink detect the version of XCode that is being used, and
explicitly make that information available in a % expansion, e.g. so
an install script could say:
if [[ %{xc} == "2.1" ]]
then
/usr/bin/install -m 755 build/Deployment/contacts %i/bin
else
/usr/bin/install -m 755 build/contacts %i/bin
fi**
Making a string of alternatives could become unmanageable pretty
rapidly, I think.
Cheers,
Ben
** Yes, I'm sure the syntax isn't quite right. But you get the idea.
-------------------------------------------------------
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