[36135] trunk/dports/science/irsim

wsiegrist at apple.com wsiegrist at apple.com
Sat Apr 19 00:49:41 PDT 2008


Revision: 36135
          http://trac.macosforge.org/projects/macports/changeset/36135
Author:   wsiegrist at apple.com
Date:     2008-04-19 00:49:40 -0700 (Sat, 19 Apr 2008)

Log Message:
-----------
adding tcl/tk version patch to fix #15051

Modified Paths:
--------------
    trunk/dports/science/irsim/Portfile

Added Paths:
-----------
    trunk/dports/science/irsim/files/
    trunk/dports/science/irsim/files/patch-tkcon.tcl

Modified: trunk/dports/science/irsim/Portfile
===================================================================
--- trunk/dports/science/irsim/Portfile	2008-04-19 07:43:08 UTC (rev 36134)
+++ trunk/dports/science/irsim/Portfile	2008-04-19 07:49:40 UTC (rev 36135)
@@ -23,5 +23,8 @@
 depends_lib			port:tcl \
 					port:tk
 
+patchfiles          patch-tkcon.tcl
+patch.pre_args      -p0
+	
 configure.args		--mandir=${prefix}/share/man
 					

Added: trunk/dports/science/irsim/files/patch-tkcon.tcl
===================================================================
--- trunk/dports/science/irsim/files/patch-tkcon.tcl	                        (rev 0)
+++ trunk/dports/science/irsim/files/patch-tkcon.tcl	2008-04-19 07:49:40 UTC (rev 36135)
@@ -0,0 +1,11 @@
+--- tcltk/orig.tkcon.tcl	2008-04-18 11:40:00.000000000 +0200
++++ tcltk/tkcon.tcl	2008-04-18 11:40:11.000000000 +0200
+@@ -44,7 +44,7 @@
+ if {$tcl_version < 8.0} {
+     return -code error "tkcon requires at least Tcl/Tk8"
+ } else {
+-    package require -exact Tk $tcl_version
++    package require Tk $tcl_version
+ }
+ 
+ catch {package require bogus-package-name}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080419/6c1937ec/attachment.html


More information about the macports-changes mailing list