Benjamin,
    The Xcode 4.5 release can now build pixman without issues. Can
we adopt the following changes for the 10.7 tree? The current use
of llvm-gcc for BuildDepends makes the info file 10.7 specific.
The following changes should work for both trees.

--- pixman.info 2012-09-18 16:28:33.000000000 -0400
+++ /sw/fink/10.7/local/main/finkinfo/pixman.info       2012-09-26 
14:17:59.000000000 -0400
@@ -1,6 +1,6 @@
 Package: pixman
 Version: 0.26.2
-Revision: 1
+Revision: 2
 Description: Pixel manipulation library
 License: BSD
 Maintainer: Benjamin Reed <pix...@fink.raccoonfink.com>
@@ -10,7 +10,6 @@
        fink (>= 0.30.0-1),
        fink-package-precedence (>= 0.7-1),
        libpng15,
-       llvm-gcc,
        pkgconfig (>= 0.23-1)
 <<
 Conflicts: libpixman1
@@ -28,7 +27,11 @@
        #!/bin/sh -ev
        
        if [[ $(sw_vers -productVersion | cut -d. -f1-2) > 10.6 ]]; then
+        clangvers=`clang --version | cut -d\  -f4`
+        $(`dpkg --compare-versions $clangvers '<<' 4.1`) && clangcheck='y'
+        if [ "$clangcheck" = "n" ]; then
        export CC=llvm-gcc
+        fi
        elif [ -x "/usr/bin/gcc-4.2" ]; then
        export CC=gcc-4.2
        fi


Alternatively, if you are okay with having a different info file in 10.7, we
could subsitute the BuildDepends on llvm-gcc with one for clang (>=4.1)
as well to force 10.7 tree users to install the correct clang.
        Jack

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
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