[med-svn] [sra-sdk] 02/02: Help configure finding Debian packaged libraries
Andreas Tille
tille at debian.org
Mon Feb 2 22:10:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository sra-sdk.
commit 9df1a87300fcfb41cf4d67eae988df51b13283d6
Author: Andreas Tille <tille at debian.org>
Date: Mon Feb 2 22:00:31 2015 +0100
Help configure finding Debian packaged libraries
---
debian/patches/find_configure_libs.patch | 34 ++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 35 insertions(+)
diff --git a/debian/patches/find_configure_libs.patch b/debian/patches/find_configure_libs.patch
new file mode 100644
index 0000000..09b05d4
--- /dev/null
+++ b/debian/patches/find_configure_libs.patch
@@ -0,0 +1,34 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Changed: Mon, 02 Feb 2015 22:00:07 +0100
+Description: Help configure finding Debian packaged libraries
+
+--- a/konfigure.perl
++++ b/konfigure.perl
+@@ -997,7 +997,7 @@ sub find_lib {
+ my ($library, $log);
+
+ if ($n eq 'hdf5') {
+- $library = '-lhdf5';
++ $library = '-lhdf5_serial';
+ $log = '#include <hdf5.h> \n main() { H5close (); }';
+ } elsif ($n eq 'xml2') {
+ $library = '-lxml2';
+--- a/package.pm
++++ b/package.pm
+@@ -9,7 +9,7 @@ sub PKG { ( LNG => 'C',
+ OUT => 'ncbi-outdir',
+ PATH => '/usr/local/ncbi/sra-tools',
+ UPATH => '$HOME/ncbi/sra-tools', ) }
+-sub DEPENDS { ( { name => 'hdf5' , },
++sub DEPENDS { ( { name => 'hdf5' , Include => '/usr/include/hdf5/serial/'},
+ { name => 'magic', Include => '/usr/include' , },
+ { name => 'xml2' , Include => '/usr/include/libxml2', } ) }
+ sub REQ { (
+@@ -47,6 +47,6 @@ sub REQ { (
+ pkgpath => '/usr',
+ usrpath => '$HOME',
+ include => 'hdf5.h',
+- lib => 'libhdf5.a',
++ lib => 'libhdf5_serial.a',
+ } ) }
+ 1
diff --git a/debian/patches/series b/debian/patches/series
index 523daa0..72b0e2c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+find_configure_libs.patch
10_portability.patch
hardening.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/sra-sdk.git
More information about the debian-med-commit
mailing list