Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5175
Modified Files: python27.info python31.info python32.info python33.info Log Message: Future proof pythons. Index: python31.info =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/python31.info,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- python31.info 16 Jun 2013 01:08:43 -0000 1.7 +++ python31.info 25 Jun 2013 01:54:09 -0000 1.8 @@ -50,6 +50,14 @@ perl -pi -e 's/ -lSystemStubs//' ./configure perl -pi -e 's/-O3/-fwrapv -O3/' ./configure fi + if [ "$darwin_vers" -ge 13 ]; then + darwinvers=`sw_vers -productVersion | cut -d. -f1-2` + if [ -d /Library/Developer/CommandLineTools ]; then + export CFLAGS=-I`xcode-select --print-path`/SDKs/MacOSX$darwinvers.sdk/usr/include + else + export CFLAGS=-I`xcode-select --print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$darwinvers.sdk/usr/include + fi + fi if [ "%m" = "x86_64" ]; then #perl -pi -e 's|num_missing != 2:|num_missing != 2:|g' ./setup.py # Architecture:x86_64 has tcltk-8.5.x, other arch have 8.4.x Index: python33.info =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/python33.info,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- python33.info 16 May 2013 11:42:50 -0000 1.8 +++ python33.info 25 Jun 2013 01:54:10 -0000 1.9 @@ -58,6 +58,14 @@ perl -pi -e 's/ -lSystemStubs//' ./configure perl -pi -e 's/-O3/-fwrapv -O3/' ./configure fi + if [ "$darwin_vers" -ge 13 ]; then + darwinvers=`sw_vers -productVersion | cut -d. -f1-2` + if [ -d /Library/Developer/CommandLineTools ]; then + export CFLAGS=-I`xcode-select --print-path`/SDKs/MacOSX$darwinvers.sdk/usr/include + else + export CFLAGS=-I`xcode-select --print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$darwinvers.sdk/usr/include + fi + fi if [ "%m" = "x86_64" ]; then #perl -pi.bak -e 's|num_missing != 2:|num_missing != 2:|g' ./setup.py # Architecture:x86_64 has tcltk-8.5.x, other arch have 8.4.x Index: python32.info =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/python32.info,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- python32.info 16 May 2013 01:23:43 -0000 1.11 +++ python32.info 25 Jun 2013 01:54:09 -0000 1.12 @@ -55,6 +55,14 @@ perl -pi -e 's/ -lSystemStubs//' ./configure perl -pi -e 's/-O3/-fwrapv -O3/' ./configure fi + if [ "$darwin_vers" -ge 13 ]; then + darwinvers=`sw_vers -productVersion | cut -d. -f1-2` + if [ -d /Library/Developer/CommandLineTools ]; then + export CFLAGS=-I`xcode-select --print-path`/SDKs/MacOSX$darwinvers.sdk/usr/include + else + export CFLAGS=-I`xcode-select --print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$darwinvers.sdk/usr/include + fi + fi if [ "%m" = "x86_64" ]; then #perl -pi.bak -e 's|num_missing != 2:|num_missing != 2:|g' ./setup.py # Architecture:x86_64 has tcltk-8.5.x, other arch have 8.4.x Index: python27.info =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/python27.info,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- python27.info 16 May 2013 11:42:50 -0000 1.13 +++ python27.info 25 Jun 2013 01:54:09 -0000 1.14 @@ -58,6 +58,14 @@ perl -pi -e 's/ -lSystemStubs//' ./configure perl -pi -e 's/-O3/-fwrapv -O3/' ./configure fi + if [ "$darwin_vers" -ge 13 ]; then + darwinvers=`sw_vers -productVersion | cut -d. -f1-2` + if [ -d /Library/Developer/CommandLineTools ]; then + export CFLAGS=-I`xcode-select --print-path`/SDKs/MacOSX$darwinvers.sdk/usr/include + else + export CFLAGS=-I`xcode-select --print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$darwinvers.sdk/usr/include + fi + fi if [ "%m" = "x86_64" ]; then perl -pi -e 's|num_missing != 5:|num_missing != 7:|g; s|have 5 missing|have 7 missing|' ./setup.py # Architecture:x86_64 has tcltk-8.5.x, other arch have 8.4.x ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs