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

Modified Files:
        ocaml-10.6.info 
Log Message:
Restore manual word-size config for ocaml configure.

May fix 32-bit builds on Xcode 3, does not help with Xcode 4.

Index: ocaml-10.6.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages/ocaml-10.6.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ocaml-10.6.info     17 May 2011 04:42:11 -0000      1.5
+++ ocaml-10.6.info     17 May 2011 18:18:02 -0000      1.6
@@ -1,6 +1,6 @@
 Package: ocaml
 Version: 3.12.0
-Revision: 1
+Revision: 2
 Distribution: 10.6
 Description: Latest implementation of Caml dialect of ML
 BuildDepends: tcltk-dev, x11-dev, libncurses5 (>= 5.4-20041023-1006), fink (>= 
0.24.12)
@@ -25,7 +25,12 @@
  cd .. && patch -p1 < %{PatchFile}
 <<
 CompileScript: <<
+#!/bin/sh -ex
+if [ %m = "i386" ]; then
+  ./configure -tkdefs -I%p/include -tklibs -L%p/lib -prefix %p -mandir 
%p/share/man -cc "gcc -m32" -as "as -arch i386" -aspp "gcc -m32 -c"
+else
   ./configure -tkdefs -I%p/include -tklibs -L%p/lib -prefix %p -mandir 
%p/share/man
+fi
    make world opt opt.opt
 <<
 InstallScript: <<


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to