$OpenBSD: patch-library_init_tcl,v 1.3 2015/05/22 04:17:01 stu Exp $
--- library/init.tcl.orig	Thu Feb 26 11:58:16 2015
+++ library/init.tcl	Mon Apr  6 03:54:27 2015
@@ -52,9 +52,14 @@ namespace eval tcl {
 	    lappend ::auto_path $Dir
 	}
     }
+
+# OpenBSD layout.
+# Tcl extensions shouldn't be installed in ${LOCALBASE}/lib.
+# Don't add ${LOCALBASE}/lib to the auto_path.
+
     set Dir [file join [file dirname [file dirname \
 	    [info nameofexecutable]]] lib]
-    if {$Dir ni $::auto_path} {
+    if {$Dir ne {${LOCALBASE}/lib} && $Dir ni $::auto_path} {
 	lappend ::auto_path $Dir
     }
     catch {
