[med-svn] [sra-sdk] 01/02: Seek for dynamic lib rather than static one

Andreas Tille tille at debian.org
Wed Jan 11 13:32:45 UTC 2017


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

tille pushed a commit to branch master
in repository sra-sdk.

commit 20770499940fc7cd43da4ef7abd590421368c9d6
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jan 11 14:31:52 2017 +0100

    Seek for dynamic lib rather than static one
---
 debian/patches/seek_dynamic_libs.patch | 22 ++++++++++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/seek_dynamic_libs.patch b/debian/patches/seek_dynamic_libs.patch
new file mode 100644
index 0000000..f66ac8b
--- /dev/null
+++ b/debian/patches/seek_dynamic_libs.patch
@@ -0,0 +1,22 @@
+Author: Andreas Tille <tille at debian.org>
+LastChanged: Wed, 11 Jan 2017 14:19:27 +0200
+Description: Seek for dynamic lib rather than static if dynamic lib exists
+
+--- a/setup/package.prl
++++ b/setup/package.prl
+@@ -34,13 +34,13 @@ sub REQ { (
+               origin  => 'I',
+               type    => 'SB',
+               srcpath => '/usr/include/ncbi-vdb',
+-              pkgpath => '/usr/lib/ncbi-vdb',
++              pkgpath => '/usr',
+               usrpath =>      '$HOME/ncbi/ncbi-vdb',
+               bldpath => '$HOME/ncbi-outdir/ncbi-vdb',
+               locbldpath=>'$Bin/../../OUTDIR/ncbi-vdb',
+               include => 'klib/rc.h',
+               src     => 'libs/kfg/default.kfg',
+-              lib     => 'libncbi-vdb.a',
++              lib     => 'libncbi-vdb.so',
+               ilib    => 'libkapp.a',
+             },
+             { name    => 'fuse',
diff --git a/debian/patches/series b/debian/patches/series
index e71691d..feea51d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,3 +12,4 @@ absolute_vschema_path_in_test.patch
 ignore_failing_tests_for_the_moment.patch
 do_not_link_statically.patch
 link_debian_packaged_libmbed.patch
+seek_dynamic_libs.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