Update of /cvsroot/fink/experimental/dmacks/finkinfo In directory vz-cvs-3.sog:/tmp/cvs-serv24204
Modified Files: inkscape.info Log Message: portable detection and setting of use of llvm when "gcc" is actually clang (tested on 10.6/i386) Index: inkscape.info =================================================================== RCS file: /cvsroot/fink/experimental/dmacks/finkinfo/inkscape.info,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- inkscape.info 10 Dec 2011 17:24:05 -0000 1.3 +++ inkscape.info 10 Dec 2011 20:42:23 -0000 1.4 @@ -97,9 +97,20 @@ # perl -pi -e 's/gcc version/clang version/' configure << UseMaxBuildJobs: false -SetCC: llvm-gcc-4.2 -SetCXX: llvm-g++-4.2 CompileScript: << +#!/bin/sh -ev + + # Lots of the source isn't compatible with clang, so we drop + # back to legacy compiler if fink (or a new xcode suite from + # apple?) is mapping g++ -> clang++ (cannot simply do this + # everywhere, since may not have the legacy-name available if + # there's no newer one and/or may not have it wrapped for fink + # single-arch) + if [ `g++ -v 2>&1 | grep clang` ]; then + export CC=llvm-gcc-4.2 + export CXX=llvm-g++-4.2 + fi + ./configure %c make V=1 fink-package-precedence . ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs