summaryrefslogtreecommitdiff
path: root/science/hdf/files/patch-hdf-examples-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'science/hdf/files/patch-hdf-examples-Makefile.in')
-rw-r--r--science/hdf/files/patch-hdf-examples-Makefile.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/science/hdf/files/patch-hdf-examples-Makefile.in b/science/hdf/files/patch-hdf-examples-Makefile.in
new file mode 100644
index 000000000000..85f4a1451715
--- /dev/null
+++ b/science/hdf/files/patch-hdf-examples-Makefile.in
@@ -0,0 +1,13 @@
+--- hdf/examples/Makefile.in.orig 2015-02-10 00:43:49.000000000 +0800
++++ hdf/examples/Makefile.in 2015-03-16 23:05:52.348877136 +0800
+@@ -530,8 +530,8 @@
+ INSTALL_TOP_FILES = README
+
+ # Where to install example files
+-EXAMPLEDIR = $(prefix)/examples/c
+-EXAMPLETOPDIR = $(prefix)/examples
++EXAMPLEDIR = $(DESTDIR)$(prefix)/share/examples/hdf/c
++EXAMPLETOPDIR = $(DESTDIR)$(prefix)/share/examples/hdf
+ DISTCLEANFILES = *.chkexe *.chklog
+ @BUILD_SHARED_SZIP_CONDITIONAL_TRUE@LD_LIBRARY_PATH = $(LL_PATH)
+