[pdal] 06/14: Append HDF5 include path for H5Cpp.h.

Bas Couwenberg sebastic at debian.org
Sat Aug 27 13:10:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository pdal.

commit 508883afb2286c198ea324be92cc1bead7ae80c2
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Aug 27 12:30:23 2016 +0200

    Append HDF5 include path for H5Cpp.h.
---
 debian/changelog | 1 +
 debian/rules     | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 239de19..4ebfd44 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ pdal (1.3.0~rc1-1) UNRELEASED; urgency=medium
     - Add license & copyright for arbiter embedded copy
     - Update license & copyright for eigen embedded copy
   * Drop patches applied upstream, refresh remaining patch.
+  * Append HDF5 include path for H5Cpp.h.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 27 Aug 2016 10:20:18 +0200
 
diff --git a/debian/rules b/debian/rules
index 4a85120..65c6585 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,10 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
 
 CXXFLAGS += $(CPPFLAGS)
 
+ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
+        export DEB_CXXFLAGS_MAINT_APPEND := -I/usr/include/hdf5/serial
+endif
+
 UPSTREAM_VERSION  = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
 BUILD_DATE        = $(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date -u "+%d %B %Y" -f -)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pdal.git



More information about the Pkg-grass-devel mailing list