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

Modified Files:
        qrupdate.info 
Log Message:
Make portable here, too.

Index: qrupdate.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/qrupdate.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- qrupdate.info       23 Sep 2011 21:07:21 -0000      1.6
+++ qrupdate.info       14 Oct 2011 14:09:21 -0000      1.7
@@ -45,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