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

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

Index: sparky-py.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/sparky-py.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- sparky-py.info      26 Jul 2011 15:29:11 -0000      1.1
+++ sparky-py.info      15 Jul 2013 17:41:40 -0000      1.2
@@ -1,7 +1,7 @@
 Info2: <<
 Package: sparky-py%type_pkg[python]
 Version: 3.115
-Revision: 1003
+Revision: 1004
 GCC: 4.0
 Maintainer: Jack Howarth <howa...@bromo.med.uc.edu>
 Type: python (2.6 2.7)
@@ -27,11 +27,18 @@
 # looks like no warnings are hidden by it on other anyway
 perl -pi -e "s,-Wno-long-double,," ./c++/Makefile
 
-# 10.7 has tcltk8.5
+darwin_vers=`uname -r | cut -d. -f1`
+if [ "$darwin_vers" -ge 13 ]; then
+perl -pi -e 's|8.4|8.6|g' ./c++/Makefile
+perl -pi -e 's|84|86|g' ./c++/Makefile
+perl -pi -e 's|8.4|8.6|g' ./bin/sparky
+perl -pi -e 's|8.4|8.6|g' ./lib/Makefile
+elif [ "$darwin_vers" -ge 11 ]; then
 perl -pi -e 's|8.4|8.5|g' ./c++/Makefile
 perl -pi -e 's|84|85|g' ./c++/Makefile
 perl -pi -e 's|8.4|8.5|g' ./bin/sparky
 perl -pi -e 's|8.4|8.5|g' ./lib/Makefile
+fi
 
 <<
 CompileScript: <<


------------------------------------------------------------------------------
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