$OpenBSD$
--- examples/perl/Makefile.in.orig	Fri May 13 14:59:25 2005
+++ examples/perl/Makefile.in	Sat Apr 15 03:22:50 2006
@@ -139,6 +139,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@
@@ -442,7 +443,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@
-examples_perldir = $(DATA_DIR)/examples/perl
+examples_perldir = $(EXAMPLE_DIR)/perl
 examples_perl_SCRIPTS = \
 	x01.pl \
 	x02.pl \
