Fix Itcl library loading.
Feedback and OK stu@
This commit is contained in:
parent
393e3cbd84
commit
ce396c95af
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2011/10/30 07:36:05 sebastia Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2012/05/01 06:58:45 sebastia Exp $
|
||||
|
||||
COMMENT= object-oriented extensions to Tcl
|
||||
|
||||
VERSION = 3.4.1
|
||||
REVISION = 0
|
||||
EPOCH = 0
|
||||
DISTNAME = itcl${VERSION}
|
||||
PKGNAME = itcl-${VERSION}
|
||||
|
@ -1,8 +1,8 @@
|
||||
--- pkgIndex.tcl.in.orig Fri Jul 15 18:34:43 2011
|
||||
+++ pkgIndex.tcl.in Sun Oct 9 19:00:41 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}
|
||||
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]
|
||||
package ifneeded Itcl @PACKAGE_VERSION@ [list load [file join $dir "@PKG_LIB_FILE@"] Itcl]
|
||||
|
Loading…
Reference in New Issue
Block a user