Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory 
sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5462/10.4/stable/main/finkinfo/sci

Modified Files:
        hdf5-18.info 
Log Message:
Fix for Xcode 4.2 on 10.6.


Index: hdf5-18.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci/hdf5-18.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- hdf5-18.info        23 May 2013 15:03:50 -0000      1.5
+++ hdf5-18.info        29 May 2013 18:31:22 -0000      1.6
@@ -1,8 +1,9 @@
 Package: hdf5-18
 Version: 1.8.5-patch1
-Revision: 7
+Revision: 8
 # DO NOT MOVE TO 10.7.  PACKAGES THAT DEPEND ON THIS SHOULD BE UPDATED TO USE 
hdf5.7 INSTEAD
 Distribution: 10.5, 10.6
+License: OSI-Approved
 Source: ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-%v.tar.gz 
 Source-MD5: d22a35a17877e369055ed50da5ba91fa
 Description: Scientific data format (v1.8 API)--headers
@@ -33,7 +34,17 @@
 --enable-shared --enable-cxx --with-zlib  --without-mpe --with-szlib \
 --without-pthread  --disable-parallel  --disable-static
 <<
-License: OSI-Approved
+CompileScript: <<
+       #!/bin/sh -ev
+       # special-case for 10.6; check whether compiler is llvm-gcc
+       if  [[ -n `gcc --version | grep llvm-g`  ]] 
+       then 
+               export CXX=clang++
+               export CC=clang
+       fi
+       %{default_script}
+       fink-package-precedence 
--prohibit-bdep=hdf5.7,hdf5.7-oldapi,hdf5.8,hdf5.8-oldapi,hdf5,%N c++/ fortran/ 
tools/ hl/tools
+<<
 InfoTest: <<
        TestScript: make check
 <<


------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to