Rename MACOSX_VERSION to DARWIN_MAJOR_VERSION to reflect what it
authorGuy Harris <guy@alum.mit.edu>
Tue, 22 Jan 2013 05:07:23 +0000 (05:07 -0000)
committerGuy Harris <guy@alum.mit.edu>
Tue, 22 Jan 2013 05:07:23 +0000 (05:07 -0000)
commitbd8513f532b657975b14d01f54e6939d1beb9607
tree657ddd1cacbe03092634ba98d1d1c944328985bd
parent52b63d96a49a6a99d4232b01d25253b8be6af1e4
Rename MACOSX_VERSION to DARWIN_MAJOR_VERSION to reflect what it
actually is (it's not an OS X version number, e.g. 10.7 for Leopard,
it's a Darwin version number, e.g. 9 for Leopard).  Add comments before
checks to indicate what we're checking for.

Put in a big long comment giving details about the issues I ran into
when trying to make this work on Leopard.

Fail if you try to run this on anything before Snow Leopard - note that
I said "trying" in the previous comment, and, yes, it was a very trying
experience....

Bump the libpng version - 1.5.12 isn't available any more.

Add some comments explaining why the code for Leopard was downloading
and installing libpng and libpixman.

Add some code to handle packages where older versions weren't compressed
with xz and newer versions were.

Add a hack to avoid finding the version of libpng that comes with X11
when trying to build Cairo on Leopard.

svn path=/trunk/; revision=47206
macosx-setup.sh