$OpenBSD: patch-samples_Makefile_in,v 1.6 2014/09/16 15:01:48 sthen Exp $
--- samples/Makefile.in.orig	Tue Apr 15 12:01:55 2014
+++ samples/Makefile.in	Tue Sep 16 14:29:16 2014
@@ -627,9 +627,9 @@ uninstall-am: uninstall-binPROGRAMS
 
 
 install-exec-hook:
-	$(mkinstalldirs) ${DESTDIR}${pkgdatadir}/samples
-	cp $(srcdir)/iodbctest.c ${DESTDIR}${pkgdatadir}/samples/iodbctest.c
-	cp $(srcdir)/Makefile.sample ${DESTDIR}${pkgdatadir}/samples/Makefile
+	$(mkinstalldirs) ${DESTDIR}${datadir}/examples/iodbc
+	cp $(srcdir)/iodbctest.c ${DESTDIR}${datadir}/examples/iodbc/iodbctest.c
+	cp $(srcdir)/Makefile.sample ${DESTDIR}${datadir}/examples/iodbc/Makefile
 @DARWIN_TRUE@	-/usr/bin/lipo ${DESTDIR}${bindir}/iodbctest -remove ppc64 -output ${DESTDIR}${bindir}/iodbctest
 @DARWIN_TRUE@	-/usr/bin/lipo ${DESTDIR}${bindir}/iodbctestw -remove ppc64 -output ${DESTDIR}${bindir}/iodbctestw
 
