Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/base
In directory vz-cvs-3.sog:/tmp/cvs-serv8079/stable/main/finkinfo/base

Modified Files:
        gettext-tools.info 
Log Message:
Force clang if "gcc" is llvm-gcc

Index: gettext-tools.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/base/gettext-tools.info,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- gettext-tools.info  16 Jul 2011 22:20:59 -0000      1.10
+++ gettext-tools.info  14 Dec 2011 02:42:39 -0000      1.11
@@ -31,7 +31,18 @@
 NoSetMAKEFLAGS: true
 SetMAKEFLAGS: -j1
 ConfigureParams: --infodir='${prefix}/share/info' 
--mandir='${prefix}/share/man' --with-included-gettext --disable-csharp 
--disable-rpath --disable-java --disable-native-java --with-included-glib 
--with-included-libcroco --with-included-libxml
-CompileScript: cd gettext-tools; env EMACS=no ./configure %c ; make
+CompileScript: <<
+       #!/bin/sh -ev
+       # test for Xcode 4.2 compiler
+       if  [[ -n `gcc --version | grep llvm-g`  ]]
+       then 
+               export CXX='clang++ -arch %m'
+               export CC='clang -arch %m'
+       fi
+       cd gettext-tools
+       env EMACS=no ./configure %c
+       make
+<<
 #InfoTest: <<
 #      TestScript: <<
 #              # some self-tests fail (see DescPackaging)
@@ -152,6 +163,9 @@
        Don't bother checking for AIX-specific bug (test is bugged on
        clang). See:
        http://lists.gnu.org/archive/html/bug-autoconf/2010-08/msg00116.html
+       
+       Doesn't build with llvm-gcc-4.2, so switch to clang if that is the only
+       "gcc".
 <<
 
 


------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to