Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv29744

Modified Files:
        qrupdate.info 
Log Message:
Patch without use of GNU sed.


Index: qrupdate.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci/qrupdate.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- qrupdate.info       4 Oct 2011 12:03:58 -0000       1.1
+++ qrupdate.info       14 Oct 2011 14:08:40 -0000      1.2
@@ -2,7 +2,9 @@
 Package: qrupdate%type_pkg[-atlas]
 Version: 1.1.1
 Revision: 5
+#no atlas on 10.7 yet
 Type: -atlas (boolean)
+
 Source: mirror:sourceforge:%{Ni}/1.1/%{Ni}-%v.tar.gz
 Source-MD5: 7782c7ee6c234e56a72d6b86c1856fa0
 Description: QR and Cholesky decomposition library
@@ -43,14 +45,11 @@
                sed -i.orig2 \
                        -e '/FFLAGS/s|-O3|-ff2c -g &|' \
                        -e 's|-lblas||' \
-                       -e 's|-llapack||' \
-                       -e "/BLAS=/i\
-LDFLAGS=$LDFLAGS -framework Accelerate" Makeconf
+                       -e 's|-llapack||' Makeconf
+               perl -pi -e "s|^(BLAS=)|LDFLAGS=$LDFLAGS -framework 
Accelerate\n\1|" Makeconf
        else 
-               sed -i.orig2 \
-                       -e 's,lblas,lf77blas,' \
-                       -e "/BLAS=/i\
-LDFLAGS=$LDFLAGS -L%p/lib" Makeconf
+               sed -i.orig2 -e 's,lblas,lf77blas,' Makeconf
+               perl -pi -e "s|^(BLAS=.*)|LDFLAGS=$LDFLAGS -L%p/lib\n\1|" 
Makeconf
        fi
        sed -i.orig -e 's|install -D|install|g' src/Makefile
        # recursive parallel Makefiles please -- fangism


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to