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

Modified Files:
        tenfourfox5.info 
Log Message:
attempt to override PYTHON to an environment-wrapped one in opt-bin


Index: tenfourfox5.info
===================================================================
RCS file: /cvsroot/fink/experimental/fangism/finkinfo/tenfourfox5.info,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- tenfourfox5.info    29 Jun 2011 23:19:27 -0000      1.12
+++ tenfourfox5.info    30 Jun 2011 00:34:16 -0000      1.13
@@ -70,11 +70,6 @@
        < %{PatchFile} | /usr/bin/patch -p1
   # leave @executable_path alone and take care of adjusting install_names
   # between build and install, below.
-  # bypass python version check b/c dies on darwin9, bdep enforces >= 2.5
-  for f in configure.in js/src/configure.in
-  do
-    sed -i.nobypass -e '/PYTHON.*PYTHON_VERSION/s|.*|:|' $f
-  done
   # configure inputs were patched, hence regeneration
   export PATH=%p/lib/autoconf2.13/bin:$PATH
   autoconf
@@ -83,6 +78,18 @@
   pushd opt-bin
     ln -s /usr/bin/ld ld32
     ln -s ../../ldx3 .
+    # darwin9 only: python with hacked environment
+    # 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
+    then
+      realpy=`which python`
+      echo "#!/bin/sh -e" > python
+      echo "export MACOSX_DEPLOYMENT_TARGET=$this_dist" >> python
+      echo "exec $realpy \"\$@\"" >> python
+      chmod +x python
+      echo "PYTHON=%b/opt-bin/python" >> ../.mozconfig
+    fi
   popd
   sed -e '/^#/!s|/usr/bin|%b/opt-bin|' SHIM.ld > opt-bin/ld
   chmod +x 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