Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv5303
Modified Files: apbs.info Log Message: apbs fixed for 10.4 Index: apbs.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/apbs.info,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- apbs.info 24 Apr 2008 19:11:26 -0000 1.12 +++ apbs.info 2 May 2008 22:07:17 -0000 1.13 @@ -1,6 +1,6 @@ Package: apbs Version: 1.0.0 -Revision: 1 +Revision: 2 Source: mirror:sourceforge:%n/%n-%v-source.tar.gz #SourceRename: %n-%v.tar.gz Source-MD5: dc9c383ddaf3cd022f4a09f2cb9f1795 @@ -16,9 +16,13 @@ #!/bin/zsh -efv PATH=/usr/bin:$PATH BLAS_DIR='/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A' -py_path=/usr/bin/python F77=gfortran ./configure %c \ ---enable-python \ ---with-blas="-L${BLAS_DIR} -lblas -Wl,-framework -Wl,vecLib -Wl,-undefined -Wl,dynamic_lookup" FFLAGS="-O3" +if [[ $(sw_vers -productVersion) < 10.5 ]]; then + F77=gfortran ./configure %c --with-blas="-L${BLAS_DIR} -lblas -Wl,-framework -Wl,vecLib -Wl,-undefined -Wl,dynamic_lookup" FFLAGS="-O3" +else + py_path=/usr/bin/python F77=gfortran ./configure %c \ + --enable-python \ + --with-blas="-L${BLAS_DIR} -lblas -Wl,-framework -Wl,vecLib -Wl,-undefined -Wl,dynamic_lookup" FFLAGS="-O3" +fi perl -pi -e 's|cp -Rf tools \${prefix}||g' Makefile perl -pi -e 's|cp -Rf examples \${prefix}||g' Makefile perl -pi -e 's|cp -Rf doc \${prefix}||g' Makefile ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs