openbsd-ports/math/hdf5/patches/patch-c++_examples_Makefile_in
martin 24ac22712c Update hdf5 to 1.12.0:
- take maintainer (thanks Ingo)
- enable fortran
- use configure argument for example dir instead of post-install mv(1)
- API changes require major bump to all shlib
- pull patches from upstream to respect DESTDIR for examples
- fix h5repack_plugin.sh test

OK feinerer@, extra testing for gdal,python3 from landry@
2020-12-02 13:27:54 +00:00

17 lines
553 B
Plaintext

$OpenBSD: patch-c++_examples_Makefile_in,v 1.1 2020/12/02 13:27:54 martin Exp $
Index: c++/examples/Makefile.in
--- c++/examples/Makefile.in.orig
+++ c++/examples/Makefile.in
@@ -709,8 +709,8 @@ CXX_API = yes
# Where to install examples
# Note: no '/' after DESTDIR. Explanation in commence.am
-EXAMPLEDIR = $(examplesdir)/c++
-EXAMPLETOPDIR = $(examplesdir)
+EXAMPLEDIR = ${DESTDIR}$(examplesdir)/c++
+EXAMPLETOPDIR = ${DESTDIR}$(examplesdir)
# Assume that all tests in this directory are examples, and tell
# conclude.am when to build them.