$OpenBSD$
--- examples/Makefile.in.orig	Fri May 13 14:59:22 2005
+++ examples/Makefile.in	Sat Apr 15 03:21:45 2006
@@ -144,6 +144,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@
@@ -448,7 +449,7 @@ with_qhull_TRUE = @with_qhull_TRUE@
 with_rpath_FALSE = @with_rpath_FALSE@
 with_rpath_TRUE = @with_rpath_TRUE@
 SUBDIRS = c  c++  f77 python tcl tk java perl
-examplesdir = $(DATA_DIR)/examples
+examplesdir = $(EXAMPLE_DIR)
 dist_examples_DATA = Makefile.examples
 all: all-recursive
 
