[pdal] 02/04: Append HDF5 include path for H5Cpp.h.

Bas Couwenberg sebastic at debian.org
Sun Aug 28 10:50:55 UTC 2016


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

sebastic pushed a commit to branch 1.2.0
in repository pdal.

commit 04a39e670bc171e4d8526f910cf50bcb42deae15
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 | 7 +++++++
 debian/rules     | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4bd1eb8..4b3830e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pdal (1.2.0-5) UNRELEASED; urgency=medium
+
+  * Append HDF5 include path for H5Cpp.h.
+    (closes: #835668)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 27 Aug 2016 10:20:18 +0200
+
 pdal (1.2.0-4) unstable; urgency=medium
 
   * Set CMAKE_INSTALL_LIBDIR in configure options to fix build on Ubuntu.
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