$OpenBSD: patch-examples_Makefile_in,v 1.2 2006/06/06 13:36:28 steven Exp $
--- examples/Makefile.in.orig	Tue May 30 01:07:19 2006
+++ examples/Makefile.in	Wed May 31 18:32:16 2006
@@ -145,6 +145,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@
@@ -463,7 +464,7 @@ with_qhull_TRUE = @with_qhull_TRUE@
 with_rpath_FALSE = @with_rpath_FALSE@
 with_rpath_TRUE = @with_rpath_TRUE@
 SUBDIRS = c  c++  f77 f95 python tcl tk java perl
-examplesdir = $(DATA_DIR)/examples
+examplesdir = $(EXAMPLE_DIR)
 dist_examples_DATA = Makefile.examples
 all: all-recursive
 
