$OpenBSD: patch-hl_c++_examples_Makefile_in,v 1.1 2020/12/02 13:27:54 martin Exp $

Index: hl/c++/examples/Makefile.in
--- hl/c++/examples/Makefile.in.orig
+++ hl/c++/examples/Makefile.in
@@ -698,8 +698,8 @@ CXX_API = yes
 
 # Where to install examples
 # Note: no '/' after DESTDIR.  Explanation in commence.am
-EXAMPLEDIR = $(examplesdir)/hl/c++
-EXAMPLETOPDIR = $(examplesdir)/hl
+EXAMPLEDIR = ${DESTDIR}$(examplesdir)/hl/c++
+EXAMPLETOPDIR = ${DESTDIR}$(examplesdir)/hl
 
 # Assume that all tests in this directory are examples, and tell
 # conclude.am when to build them.
