openbsd-ports/devel/itcl/patches/patch-generic_itcl_cmds_c
sebastia 2240f32ac8 Update to new Tcl layout.
While there, take MAINTAINER, since the old one is not reachable with this address anymore.

OK landry@, stu@
2011-01-05 18:55:31 +00:00

16 lines
750 B
Plaintext

$OpenBSD: patch-generic_itcl_cmds_c,v 1.3 2011/01/05 18:55:31 sebastia Exp $
On OpenBSD we only have one version installed.
--- generic/itcl_cmds.c.orig Sun Dec 12 12:25:58 2010
+++ generic/itcl_cmds.c Sun Dec 12 12:26:47 2010
@@ -62,7 +62,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\