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

Modified Files:
        ccpnmr-py.info 
Log Message:
build against tcl/tk 8.6 on 10.9 or later

Index: ccpnmr-py.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/ccpnmr-py.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ccpnmr-py.info      27 Jun 2013 14:26:52 -0000      1.5
+++ ccpnmr-py.info      15 Jul 2013 17:42:47 -0000      1.6
@@ -1,7 +1,7 @@
 Info2: <<
 Package: ccpnmr-py%type_pkg[python]
 Version: 2.3.0r2
-Revision: 1
+Revision: 2
 
 Type: python (2.6 2.7)
 
@@ -23,7 +23,15 @@
 
 PatchFile: ccpnmr-py.patch
 PatchFile-MD5: f5e696ee6da81315c1e09fb7db1ad5bc
-PatchScript: sed 's,@PREFIX@,%p,g' < %{PatchFile} | sed 
's,python2.X,python%type_raw[python],g' | patch -p1
+PatchScript: << 
+#! /bin/sh -ex
+darwin_vers=`uname -r | cut -d. -f1`
+if [ "$darwin_vers" -ge 13 ]; then
+ sed 's,@PREFIX@,%p,g' < %{PatchFile} | sed 
's,python2.X,python%type_raw[python],g' | sed 's,tcl8.5,tcl8.6,g' | sed 
's,tk8.5,tk8.6,g' | patch -p1
+else
+ sed 's,@PREFIX@,%p,g' < %{PatchFile} | sed 
's,python2.X,python%type_raw[python],g' | patch -p1
+fi
+<<
 
 CompileScript: <<
 #!/bin/sh -ev


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to