Hi,

it seems, the patch to the pkgIndex.tcl is b0rked. However, it went in 
unnoticted, this way it is now,
itcl is not working.

Attached patch fixes it, OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/itcl/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile    30 Oct 2011 07:36:05 -0000      1.10
+++ Makefile    30 Apr 2012 12:41:46 -0000
@@ -3,6 +3,7 @@
 COMMENT=       object-oriented extensions to Tcl
 
 VERSION =      3.4.1
+REVISION =     0
 EPOCH =                0
 DISTNAME =     itcl${VERSION}
 PKGNAME =      itcl-${VERSION}
Index: patches/patch-pkgIndex_tcl_in
===================================================================
RCS file: /cvs/ports/devel/itcl/patches/patch-pkgIndex_tcl_in,v
retrieving revision 1.3
diff -u -r1.3 patch-pkgIndex_tcl_in
--- patches/patch-pkgIndex_tcl_in       30 Oct 2011 07:36:05 -0000      1.3
+++ patches/patch-pkgIndex_tcl_in       30 Apr 2012 12:41:46 -0000
@@ -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
-@@ -1,4 +1,4 @@
++++ pkgIndex.tcl.in    Mon Apr 30 14:39:29 2012
+@@ -1,4 +1,3 @@
  # 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]
- package ifneeded Itcl @PACKAGE_VERSION@ [list load [file join $dir 
"@PKG_LIB_FILE@"] Itcl]

Reply via email to