[h5utils] 08/10: Add patch to fix build with optional manpages.
Bas Couwenberg
sebastic at debian.org
Wed Jul 19 15:58:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository h5utils.
commit 9198f05c19afd024663521f5cd1a7198d817bd45
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Jul 19 17:52:03 2017 +0200
Add patch to fix build with optional manpages.
---
debian/changelog | 1 +
debian/patches/more-h5utils-mans.patch | 37 ++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 39 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index ea5e8f3..4b98694 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ h5utils (1.13-1) UNRELEASED; urgency=medium
* Add autopkgtest to test installability.
* Update copyright file.
* Drop png1.5 patch, fixed upstream.
+ * Add patch to fix build with optional manpages.
-- Bas Couwenberg <sebastic at debian.org> Wed, 19 Jul 2017 17:33:34 +0200
diff --git a/debian/patches/more-h5utils-mans.patch b/debian/patches/more-h5utils-mans.patch
new file mode 100644
index 0000000..8024065
--- /dev/null
+++ b/debian/patches/more-h5utils-mans.patch
@@ -0,0 +1,37 @@
+Description: Fix build with optional manpages.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -68,7 +68,7 @@ AC_CHECK_LIB(matheval, evaluator_get_var
+
+ if test $H5MATH = yes; then
+ MORE_H5UTILS="h5math\$(EXEEXT) $MORE_H5UTILS"
+- MORE_H5UTILS_MANS="h5math.1 $MORE_H5UTILS_MANS"
++ MORE_H5UTILS_MANS="doc/man/h5math.1 $MORE_H5UTILS_MANS"
+ else
+ AC_MSG_WARN([can't find libmatheval: won't be able to compile h5math])
+ fi
+@@ -102,11 +102,11 @@ if test "x$H4TOH5" != xh4toh5 -o "x$H5TO
+ if test $HDF4 = yes; then
+ if test "x$H4TOH5" != xh4toh5; then
+ MORE_H5UTILS="h5fromh4\$(EXEEXT) $MORE_H5UTILS"
+- MORE_H5UTILS_MANS="h5fromh4.1 $MORE_H5UTILS_MANS"
++ MORE_H5UTILS_MANS="doc/man/h5fromh4.1 $MORE_H5UTILS_MANS"
+ fi
+ if test "x$H5TOH4" != xh5toh4; then
+ MORE_H5UTILS="h4fromh5\$(EXEEXT) $MORE_H5UTILS"
+- # MORE_H5UTILS_MANS="h4fromh5.1 $MORE_H5UTILS_MANS"
++ # MORE_H5UTILS_MANS="doc/man/h4fromh5.1 $MORE_H5UTILS_MANS"
+ fi
+ fi
+ fi
+@@ -187,7 +187,7 @@ elif test "$ok" != "no"; then
+ fi
+ if test $H5TOV5D = yes; then
+ MORE_H5UTILS="h5tov5d\$(EXEEXT) $MORE_H5UTILS"
+- MORE_H5UTILS_MANS="h5tov5d.1 $MORE_H5UTILS_MANS"
++ MORE_H5UTILS_MANS="doc/man/h5tov5d.1 $MORE_H5UTILS_MANS"
+ fi
+ AC_SUBST(V5D_FILES)
+ AC_SUBST(V5D_INCLUDES)
diff --git a/debian/patches/series b/debian/patches/series
index 3ffb36c..90306fe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
# no patch
manpage-has-errors-from-man.patch
+more-h5utils-mans.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/h5utils.git
More information about the Pkg-grass-devel
mailing list