pkgsrc/lang/tcl-itcl-current/patches/patch-ah
dmcmahill 590b36720f import tcl-itcl-current-20040920. This is a snapshot from the [incr Tcl] CVS
repository.  They have not made a release in years but development
has continued.

The largest item of note is this version works with tcl-8.4.


[incr Tcl] provides the extra language support needed to build large Tcl/Tk
applications. It introduces the notion of objects, which act as building
blocks for an application. Each object is a bag of data with a set of
procedures or "methods" that are used to manipulate it. Objects are organized
into "classes" with identical characteristics, and classes can inherit
functionality from one another. This object-oriented paradigm adds another
level of organization on top of the basic variable/procedure elements, and
the resulting code is easier to understand and maintain.

This package is based on CVS sources for [incr Tcl].
2004-09-24 21:16:02 +00:00

16 lines
889 B
Text

$NetBSD: patch-ah,v 1.1.1.1 2004/09/24 21:16:02 dmcmahill Exp $
--- itk/generic/itk_cmds.c.orig 2000-08-28 22:58:00.000000000 -0500
+++ itk/generic/itk_cmds.c
@@ -55,9 +55,9 @@ namespace eval ::itk {\n\
if {[info exists env(ITK_LIBRARY)]} {\n\
lappend dirs $env(ITK_LIBRARY)\n\
}\n\
- lappend dirs [file join [file dirname $tcl_library] itk$version]\n\
+ lappend dirs [file join [file dirname $tcl_library] tcl itk$version]\n\
set bindir [file dirname [info nameofexecutable]]\n\
- lappend dirs [file join $bindir .. lib itk$version]\n\
+ lappend dirs [file join $bindir .. lib tcl itk$version]\n\
lappend dirs [file join $bindir .. library]\n\
lappend dirs [file join $bindir .. .. library]\n\
lappend dirs [file join $bindir .. .. itk library]\n\