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

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