$NetBSD: patch-ad,v 1.1 2006/01/04 06:05:44 recht Exp $

--- ./c++/config/commence.in.orig	2005-12-24 13:16:41.000000000 +0100
+++ ./c++/config/commence.in	2005-12-24 13:17:20.000000000 +0100
@@ -79,7 +79,7 @@
 ## complains if it sees a reference to a variable which has never been
 ## defined. The main makefile is free to redefine these to something else.
 DOCDIR=$(docdir)
-EXAMPLEDIR=$(docdir)/hdf5/examples/c++
+EXAMPLEDIR=$(prefix)/share/examples/hdf5/c++
 LIB=
 LIB_SRC=
 LIB_OBJ=
