openbsd-ports/devel/itcl/patches/patch-pkgIndex_tcl_in
sebastia 7a0351bb5a update itcl to 3.4.1.
OK stu@, jasper@
2011-10-30 07:36:05 +00:00

9 lines
415 B
Plaintext

--- pkgIndex.tcl.in.orig Fri Jul 15 18:34:43 2011
+++ pkgIndex.tcl.in Sun Oct 9 19:00:41 2011
@@ -1,4 +1,4 @@
# Tcl package index file, version 1.0
-if {![package vsatisfies [package present Tcl] @TCL_VERSION@]} {return}
+package ifneeded Itcl @PACKAGE_VERSION@ [list load [file join $dir ../.. "@PKG_LIB_FILE@"] Itcl]
package ifneeded Itcl @PACKAGE_VERSION@ [list load [file join $dir "@PKG_LIB_FILE@"] Itcl]