The ppl9.info file provides a good example of the adjustments we need to
make to info files in order to support path-prefix-clang under Xcode 4.2 on 
SL...

--- /sw/fink/10.6/stable/main/finkinfo/devel/ppl9.info  2011-09-26 
09:48:21.000000000 -0400
+++ ppl9.info   2011-10-20 18:44:37.000000000 -0400
@@ -1,6 +1,6 @@
 Package: ppl9
 Version: 0.11.2
-Revision: 2
+Revision: 3
 BuildDependsOnly: True
 Depends: <<
        %N-shlibs (= %v-%r),
@@ -89,7 +89,7 @@
        fi
        # workaround llvm/clang's absence of -f rounding-math, 
        # which caused test suite failures
-       if test "$darwin_vers" -ge 11 ; then
+        if [ `gcc -v 2>&1 | grep -c clang` = "1" ]; then
          disable_fpmath="--disable-fpmath"
        fi
        ../configure %c

where the conditional should be switched from testing the darwin release to 
checking the
default fink compiler in use instead.
             Jack
ps With the above change, ppl9 builds without regressions using 'fink -m' under 
Xcode 4.2's
clang on SL.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to