$OpenBSD: patch-examples_tcl_Makefile_in,v 1.2 2006/06/06 13:36:28 steven Exp $
--- examples/tcl/Makefile.in.orig	Tue May 30 01:07:28 2006
+++ examples/tcl/Makefile.in	Wed May 31 18:32:16 2006
@@ -152,6 +152,7 @@ CXXDEPMODE = @CXXDEPMODE@
 CXXFLAGS = @CXXFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DATA_DIR = @DATA_DIR@
+EXAMPLE_DIR = @EXAMPLE_DIR@
 DB2X_TEXIXML = @DB2X_TEXIXML@
 DB2X_XSLTPROC = @DB2X_XSLTPROC@
 DB_SS_HTML_PUBID = @DB_SS_HTML_PUBID@
@@ -469,7 +470,7 @@ with_qhull_FALSE = @with_qhull_FALSE@
 with_qhull_TRUE = @with_qhull_TRUE@
 with_rpath_FALSE = @with_rpath_FALSE@
 with_rpath_TRUE = @with_rpath_TRUE@
-@enable_tcl_TRUE@examples_tcldir = $(DATA_DIR)/examples/tcl
+@enable_tcl_TRUE@examples_tcldir = $(EXAMPLE_DIR)/tcl
 @enable_itcl_FALSE@@enable_tcl_TRUE@mkindex = ../../scripts/mktclIndex -tcl
 @enable_itcl_TRUE@@enable_tcl_TRUE@mkindex = ../../scripts/mktclIndex -itcl
 @enable_tcl_TRUE@dist_examples_tcl_DATA = \
