$OpenBSD: patch-examples_f77_Makefile_in,v 1.2 2006/06/06 13:36:28 steven Exp $
--- examples/f77/Makefile.in.orig	Tue May 30 01:07:24 2006
+++ examples/f77/Makefile.in	Wed May 31 18:32:16 2006
@@ -284,6 +284,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@
@@ -651,7 +652,7 @@ f77m4_sources = \
 	x23f.fm4
 
 SUFFIXES = .fm4
-@enable_f77_TRUE@examples_f77dir = $(DATA_DIR)/examples/f77
+@enable_f77_TRUE@examples_f77dir = $(EXAMPLE_DIR)/f77
 @enable_f77_TRUE@examples_f77_DATA = $(f77_examples) Makefile.examples
 @enable_f77_TRUE@libplplot = $(top_builddir)/src/libplplot$(LIB_TAG).la
 @enable_f77_TRUE@libplplotf77c = $(top_builddir)/bindings/f77/libplplotf77c$(LIB_TAG).la
