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

16 lines
750 B
Plaintext

$OpenBSD: patch-generic_itcl_cmds_c,v 1.4 2011/10/30 07:36:05 sebastia Exp $
On OpenBSD we only have one version installed.
--- generic/itcl_cmds.c.orig Fri Jul 15 20:30:52 2011
+++ generic/itcl_cmds.c Sun Oct 9 19:00:41 2011
@@ -60,7 +60,7 @@ namespace eval ::itcl {\n\
if {[info exists env(ITCL_LIBRARY)]} {\n\
lappend dirs $env(ITCL_LIBRARY)\n\
}\n\
- lappend dirs [file join [file dirname $tcl_library] itcl$version]\n\
+ lappend dirs [file join [file dirname $tcl_library] itcl]\n\
set bindir [file dirname [info nameofexecutable]]\n\
lappend dirs [file join $bindir .. lib itcl$version]\n\
lappend dirs [file join $bindir .. library]\n\