[exodus] 10/48: Build fix for netcdf

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Jul 15 11:35:54 UTC 2015


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

mckinstry pushed a commit to branch debian/master
in repository exodus.

commit 6f26933369eefc75adb41f218cd600469ab341a8
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Wed Oct 5 22:41:29 2011 +0100

    Build fix for netcdf
---
 debian/control                   |  2 +-
 debian/patches/build-fixes.patch | 27 +++++++++++++++++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 5d96acc..4b64901 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: exodusii
 Section: science
 Priority: optional
 Maintainer: Alastair McKinstry <mckinstry at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), cmake (>= 2.4.0), libnetcdf-dev, gfortran
+Build-Depends: debhelper (>= 8.1.3~), cmake (>= 2.4.0), libnetcdf-dev, gfortran
 Standards-Version: 3.9.2
 Homepage: http://sourceforge.net/projects/exodusii/
 
diff --git a/debian/patches/build-fixes.patch b/debian/patches/build-fixes.patch
new file mode 100644
index 0000000..c9feca5
--- /dev/null
+++ b/debian/patches/build-fixes.patch
@@ -0,0 +1,27 @@
+Index: exodusii-4.98/cbind/CMakeLists.txt
+===================================================================
+--- exodusii-4.98.orig/cbind/CMakeLists.txt	2011-04-27 16:57:40.000000000 +0100
++++ exodusii-4.98/cbind/CMakeLists.txt	2011-10-05 22:22:15.000000000 +0100
+@@ -1,11 +1,13 @@
+ 
+ find_path( NETCDF_INCLUDE_DIR netcdf.h
++   /usr/include
+    $ENV{ACCESS}/inc
+    $ENV{NETCDF_DIR}/inc
+    $ENV{NETCDF_DIR}/libsrc
+ )	
+ 
+ find_path( NETCDF_LIBRARY libnetcdf.a
++   ${NETCDF_LIBDIR}
+    $ENV{ACCESS}/lib
+    $ENV{NETCDF_DIR}/lib
+    $ENV{NETCDF_DIR}/libsrc/.libs
+@@ -224,7 +226,7 @@
+ 
+ ADD_LIBRARY(exoIIv2c ${cbind_SRCS})
+ 
+-TARGET_LINK_LIBRARIES(exoIIv2c ${NETCDF_LIBRARY}/libnetcdf.a)
++TARGET_LINK_LIBRARIES(exoIIv2c ${NETCDF_LIBRARY}/libnetcdf.a -lcurl -lhdf5_hl -lhdf5)
+ 
+ IF(VTK_LIBRARY_PROPERTIES)
+   SET_TARGET_PROPERTIES(exoIIv2c PROPERTIES ${VTK_LIBRARY_PROPERTIES})
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5ad4f77
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+build-fixes.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/exodus.git



More information about the debian-science-commits mailing list