[med-svn] [htslib] 02/02: Fix pkg-config

Andreas Tille tille at debian.org
Thu Feb 9 14:41:09 UTC 2017


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

tille pushed a commit to branch debian/unstable
in repository htslib.

commit e4ea80c3c5f3f2992033ca62166dd2ee132883ab
Author: Andreas Tille <tille at debian.org>
Date:   Thu Feb 9 15:22:18 2017 +0100

    Fix pkg-config
---
 debian/changelog                    |  1 +
 debian/patches/fix_pkg-config.patch | 18 ++++++++++++++++++
 debian/patches/series               |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 43ad72a..7a8dfd5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ htslib (1.3.2-3) UNRELEASED; urgency=medium
 
   * Install header files from cram dir in -dev package since these are
     used in libseqlib
+  * Fix pkg-config
 
  -- Andreas Tille <tille at debian.org>  Thu, 09 Feb 2017 13:39:57 +0100
 
diff --git a/debian/patches/fix_pkg-config.patch b/debian/patches/fix_pkg-config.patch
new file mode 100644
index 0000000..4594a93
--- /dev/null
+++ b/debian/patches/fix_pkg-config.patch
@@ -0,0 +1,18 @@
+Description: Fix pkg-config
+ Cflags are just pointing to system default include dir.  However, files are in
+ subdirectory which cram/*.h input files are kept in.  To be found pkg-config
+ needs to point to this dir
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 09 Feb 2017 13:39:57 +0100
+
+--- a/htslib.pc.in
++++ b/htslib.pc.in
+@@ -4,7 +4,7 @@ libdir=@libdir@
+ Name: htslib
+ Description: C library for high-throughput sequencing data formats
+ Version: @PACKAGE_VERSION@
+-Cflags: -I${includedir}
++Cflags: -I${includedir}/htslib
+ Libs: -L${libdir} -lhts
+ Libs.private: -L${libdir} -lhts -lm -lpthread
+ Requires.private: zlib
diff --git a/debian/patches/series b/debian/patches/series
index 3c1f11a..7672d11 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 define_PATH_MAX.patch
 literal_version.patch
+fix_pkg-config.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/htslib.git



More information about the debian-med-commit mailing list