summaryrefslogtreecommitdiff
path: root/devel/hdf5/patches/patch-c++_examples_Makefile.in
blob: 3141fcd95c432a7037177da253cc5a455ff5e70d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-c++_examples_Makefile.in,v 1.3.8.1 2016/12/11 17:18:02 spz Exp $

Fix paths to examples.

--- c++/examples/Makefile.in.orig	2016-05-10 21:24:51.000000000 +0000
+++ c++/examples/Makefile.in
@@ -626,8 +626,8 @@ CXX_API = yes
 
 # Where to install examples
 # Note: no '/' after DESTDIR.  Explanation in commence.am
-EXAMPLEDIR = ${DESTDIR}$(exec_prefix)/share/hdf5_examples/c++
-EXAMPLETOPDIR = ${DESTDIR}$(exec_prefix)/share/hdf5_examples
+EXAMPLEDIR = ${DESTDIR}$(datarootdir)/examples/hdf5/c++
+EXAMPLETOPDIR = ${DESTDIR}$(datarootdir)/examples/hdf5
 
 # Assume that all tests in this directory are examples, and tell
 # conclude.am when to build them.