Update of /cvsroot/fink/experimental/fangism/finkinfo
In directory vz-cvs-3.sog:/tmp/cvs-serv30580

Modified Files:
        tenfourfox5.info 
Log Message:
override 10.5-python-wrapped gcc calls to have MACOSX_DEPLOYMENT_TARGET=10.4


Index: tenfourfox5.info
===================================================================
RCS file: /cvsroot/fink/experimental/fangism/finkinfo/tenfourfox5.info,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- tenfourfox5.info    30 Jun 2011 00:34:16 -0000      1.13
+++ tenfourfox5.info    30 Jun 2011 01:57:07 -0000      1.14
@@ -79,6 +79,7 @@
     ln -s /usr/bin/ld ld32
     ln -s ../../ldx3 .
     # darwin9 only: python with hacked environment
+    # b/c python requires run-time M_D_T to be consistent with build-time
     # the rest of the build should use M_D_T=10.4
     this_dist=`sw_vers -productVersion | cut -d. -f1-2`
     if test $this_dist = 10.5
@@ -89,6 +90,12 @@
       echo "exec $realpy \"\$@\"" >> python
       chmod +x python
       echo "PYTHON=%b/opt-bin/python" >> ../.mozconfig
+      # and then force python-wrapped gcc calls back to M_D_T=10.4
+      echo "#!/bin/sh -e" > MDT10.4
+      echo "export MACOSX_DEPLOYMENT_TARGET=10.4" >> MDT10.4
+      echo "exec \"\$@\"" >> MDT10.4
+      chmod +x MDT10.4
+      sed -i.orig -e '/^GCC_PREFIX=/s|flag-sort|MDT10.4 &|' ../.mozconfig
     fi
   popd
   sed -e '/^#/!s|/usr/bin|%b/opt-bin|' SHIM.ld > opt-bin/ld


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to