openbsd-ports/devel/itcl/patches/patch-pkgIndex_tcl_in
sebastia ce396c95af Fix Itcl library loading.
Feedback and OK stu@
2012-05-01 06:58:45 +00:00

9 lines
415 B
Plaintext

--- pkgIndex.tcl.in.orig Fri Jul 15 18:34:43 2011
+++ pkgIndex.tcl.in Tue May 1 08:55:27 2012
@@ -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]