Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9438

Modified Files:
        mosflm.info 
Log Message:
fix to force 32-bit compilation on 10.6 when appropriate

Index: mosflm.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/mosflm.info,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- mosflm.info 7 Sep 2009 02:22:22 -0000       1.23
+++ mosflm.info 7 Sep 2009 03:09:19 -0000       1.24
@@ -12,6 +12,10 @@
 CompileScript: << 
 #!/bin/zsh -efv
 source %p/bin/init.sh
+if [[ "%m" != "x86_64" ]]; then
+       perl -pi -e 's|gfortran|gfortran -m32|g' fink_gfortran.zsh
+       perl -pi -e 's|gcc |gcc -m32 |g' fink_gfortran.zsh
+fi
 source fink_gfortran.zsh
 make
 cd bin


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to