$OpenBSD: patch-gorilla_tcl,v 1.2 2012/06/09 13:03:40 sthen Exp $
--- gorilla.tcl.orig	Sat Jun  9 17:41:45 2012
+++ gorilla.tcl	Sat Jun  9 17:42:04 2012
@@ -36,11 +36,7 @@ set ::gorillaVersion {$Revision: 1.2 $}
 
 # find the location of the install directory even when "executing" a symlink
 # pointing to the gorilla.tcl file
-if { [ file type [ info script ] ] eq "link" } {
-	set ::gorillaDir [ file normalize [ file dirname [ file join [ file dirname [ info script ] ] [ file readlink [ info script ] ] ] ] ]
-} else {
-	set ::gorillaDir [ file normalize [ file dirname [ info script ] ] ]
-}
+	set ::gorillaDir "${TRUEPREFIX}/lib/password-gorilla"
 
 # ----------------------------------------------------------------------
 # Make sure that our prerequisite packages are available. Don't want
