$OpenBSD: patch-library_tm_tcl,v 1.2 2013/06/28 06:12:39 stu Exp $
--- library/tm.tcl.orig	Thu Mar 21 08:59:20 2013
+++ library/tm.tcl	Tue Apr  9 21:51:00 2013
@@ -319,10 +319,10 @@ proc ::tcl::tm::Defaults {} {
 
     # Note that we're using [::list], not [list] because [list] means
     # something other than [::list] in this namespace.
-    roots [::list \
-	    [file dirname [info library]] \
-	    [file join [file dirname [file dirname $exe]] lib] \
-	    ]
+
+    # OpenBSD layout
+    add [file join [info library] modules [info tclversion]] \
+	[file join [file dirname [info library]] modules [info tclversion]]
 
     if {$tcl_platform(platform) eq "windows"} {
 	set sep ";"
