Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16070

Modified Files:
        sextractor.info 
Added Files:
        sextractor.patch 
Log Message:
Use the Accelerator framework instead of ATLAS.


Index: sextractor.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/sextractor.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- sextractor.info     20 Oct 2009 00:10:08 -0000      1.1
+++ sextractor.info     23 Oct 2009 05:14:36 -0000      1.2
@@ -1,6 +1,6 @@
 Package: sextractor
 Version: 2.8.6
-Revision: 1
+Revision: 2
 Description: Catalogue of objects from astronomical images
 License: OSI-Approved
 Homepage: http://astromatic.iap.fr/software/sextractor
@@ -9,22 +9,24 @@
 Source: ftp://ftp.iap.fr/pub/from_users/bertin/%n/%n-%v.tar.gz
 Source-MD5: 6c2fc529cd89bdd11b1fbafc0866131c
 
+PatchFile: %n.patch
+PatchFile-MD5: a3a1c9e08f95c2a8064f98a01f726638
+
 BuildDepends: <<
-  atlas,
   fink (>= 0.24.12),
   fftw3,
   gcc44,
-  ocaml
+  ocaml,
+  pkgconfig
 <<
 
 Depends: <<
-  atlas-shlibs,
   fftw3-shlibs
 <<
 
 SetCFLAGS: -Os
 
-ConfigureParams: --prefix=%p --with-fftw-incdir=%p/include --with-fftw=%p/lib 
--with-atlas-incdir=%p/include --with-atlas=%p/lib --mandir=%p/share/man 
--disable-dependency-tracking
+ConfigureParams: --prefix=%p --with-fftw-incdir=%p/include --with-fftw=%p/lib 
--mandir=%p/share/man --disable-dependency-tracking
 
 InstallScript: make install DESTDIR=%d
 

--- NEW FILE: sextractor.patch ---
diff -Nurd sextractor-2.8.6.ori/acx_atlas.m4 sextractor-2.8.6/acx_atlas.m4
--- sextractor-2.8.6.ori/acx_atlas.m4   2009-01-29 11:52:02.000000000 -0200
+++ sextractor-2.8.6/acx_atlas.m4       2009-10-23 02:46:04.000000000 -0200
@@ -19,200 +19,23 @@
 dnl Search include files
 dnl --------------------
 
+
 acx_atlas_ok=no
-if test x$2 = x; then
-  if test x$1 = x; then
-    AC_CHECK_HEADERS([cblas.h clapack.h],[acx_atlas_ok=yes])
-    if test x$acx_atlas_ok = xyes; then
-      AC_DEFINE(ATLAS_BLAS_H, "cblas.h", [BLAS header filename.])
-      AC_DEFINE(ATLAS_LAPACK_H, "clapack.h", [CLAPACK header filename.])
-    else
-      AC_CHECK_HEADERS([atlas/cblas.h atlas/clapack.h],[acx_atlas_ok=yes])
-      if test x$acx_atlas_ok = xyes; then
-        AC_DEFINE(ATLAS_BLAS_H, "atlas/cblas.h", [BLAS header filename.])
[...16134 lines suppressed...]
+       {
+               ierr = -6;
+               cblas_xerbla(6, "clapack_dpotrs",
+                               "lda must be >= MAX(N,1): lda=%d N=%d\n", lda, 
N);
+       }
+       if (ldb < N || ldb < 1)
+       {
+               ierr = -8;
+               cblas_xerbla(8, "clapack_dpotrs",
+                               "ldb must be >= MAX(N,1): ldb=%d N=%d\n", ldb, 
N);
+       }
+       if (!ierr) dpotrs(Order, Uplo, N, NRHS, A, lda, B, ldb);
+       return(ierr);
+}
+
+/* End of functions borrowed from ATLAS. Thanks! */
+
 
 /****** pattern_fit ******************************************************
 PROTO  void pattern_resample(patternstruct *pattern)


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to