Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods
In directory vz-cvs-3.sog:/tmp/cvs-serv18150

Modified Files:
        instant-py.info 
Log Message:
Possible fix for 10.6 with Xcode 4.x.


Index: instant-py.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods/instant-py.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- instant-py.info     21 Jan 2012 23:04:38 -0000      1.6
+++ instant-py.info     22 Jan 2012 02:08:29 -0000      1.7
@@ -19,17 +19,35 @@
 Depends: python%type_pkg[python], swig, numpy-py%type_pkg[python]
 
 CompileScript: <<
+       #/bin/bash -ev
+       if [ "%m" = "powerpc" ]; then
+               export ARCHFLAGS='-arch ppc'
+       else
+               export ARCHFLAGS='-arch %m'
+       fi
        %p/bin/python%type_raw[python] setup.py build 
 <<
 
 InfoTest: <<
        TestScript: <<
+               #/bin/bash -ev
+               if [ "%m" = "powerpc" ]; then
+                       export ARCHFLAGS='-arch ppc'
+               else
+                       export ARCHFLAGS='-arch %m'
+               fi
                cd test && PYTHONPATH="%b/build/lib" 
%p/bin/python%type_raw[python] run_tests.py || exit 2
                rm %b/build/lib/instant/*.pyc
        <<
 <<
 
 InstallScript: <<
+       #/bin/bash -ev
+       if [ "%m" = "powerpc" ]; then
+               export ARCHFLAGS='-arch ppc'
+       else
+               export ARCHFLAGS='-arch %m'
+       fi
        %p/bin/python%type_raw[python] setup.py install --root %d
        /bin/mv %i/bin/instant-clean %i/bin/instant-clean-py%type_pkg[python]
        /bin/mv %i/share/man/man1/instant-clean.1.gz 
%i/share/man/man1/instant-clean-py%type_pkg[python].1.gz


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to