Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics
In directory vz-cvs-3.sog:/tmp/cvs-serv28367

Modified Files:
        xfig.info 
Log Message:
Use llvm-gcc when clang is 4.0 or later (same as for 10.8)


Index: xfig.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics/xfig.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- xfig.info   3 Sep 2012 09:19:21 -0000       1.3
+++ xfig.info   23 Sep 2012 15:17:52 -0000      1.4
@@ -19,6 +19,11 @@
 <<
 CompileScript: <<
 #!/bin/sh -ev
+ clangvers=`/usr/bin/clang --version | head -n 1 | cut -d\  -f4`
+ echo $clangvers
+ if [ "$clangvers" > "4.0" ] ; then
+       perl -pi -e 's|CC = cc|CC = llvm-gcc|' Imakefile
+ fi
  export PATH=%p/lib/xmkmf/bin:$PATH 
  export IMAKEINCLUDE=-I%p/lib/X11/config
  xmkmf


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to