[Pkg-octave-commit] [octave-msh] 05/06: configure-script-source.patch: new patch, adds source of configure script.

Sébastien Villemot sebastien at debian.org
Thu Feb 27 16:42:31 UTC 2014


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

sebastien pushed a commit to branch master
in repository octave-msh.

commit 8b02a5470ad7263d066a27ad25d593e5a4670f02
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Thu Feb 27 17:36:45 2014 +0100

    configure-script-source.patch: new patch, adds source of configure script.
---
 debian/patches/configure-script-source.patch | 27 +++++++++++++++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 28 insertions(+)

diff --git a/debian/patches/configure-script-source.patch b/debian/patches/configure-script-source.patch
new file mode 100644
index 0000000..b92f452
--- /dev/null
+++ b/debian/patches/configure-script-source.patch
@@ -0,0 +1,27 @@
+Description: Add source for configure script, taken from SVN
+Origin: upstream, http://sourceforge.net/p/octave/code/12129/tree/trunk/octave-forge/extra/msh/src/configure.ac
+Bug: https://savannah.gnu.org/bugs/?41724
+Last-Update: 2014-02-27
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- /dev/null
++++ b/src/configure.ac
+@@ -0,0 +1,18 @@
++AC_PREREQ([2.67])
++AC_INIT([Msh Package], [1.0])
++
++AC_PROG_CXX
++AC_LANG(C++)
++
++AC_CHECK_PROG([HAVE_MKOCTFILE], [mkoctfile], [yes], [no])
++if [test $HAVE_MKOCTFILE = "no"]; then
++  AC_MSG_ERROR([mkoctfile required to install $PACKAGE_NAME])
++fi
++
++AC_CHECK_HEADER([dolfin.h], 
++  [AC_SUBST(ac_dolfin_cpp_flags,-DHAVE_DOLFIN_H) AC_SUBST(ac_dolfin_ld_flags,-ldolfin)],
++  [AC_MSG_WARN([dolfin headers could not be found, som functionalities will be disabled, don't worry your package will still be working, though.])]
++ )
++
++AC_CONFIG_FILES([Makefile])
++AC_OUTPUT
diff --git a/debian/patches/series b/debian/patches/series
index 6f889c5..5d69d85 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 autoload-yes.diff
+configure-script-source.patch

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-msh.git



More information about the Pkg-octave-commit mailing list