[med-svn] [libgkarrays] 01/01: fix pkg-config
Andreas Tille
tille at debian.org
Mon Sep 12 13:14:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libgkarrays.
commit d9b273e5e47226a37b1bf680a91bf19d6c747e26
Author: Andreas Tille <tille at debian.org>
Date: Mon Sep 12 15:10:31 2016 +0200
fix pkg-config
---
debian/patches/fix_pkg-config.patch | 23 +++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 24 insertions(+)
diff --git a/debian/patches/fix_pkg-config.patch b/debian/patches/fix_pkg-config.patch
new file mode 100644
index 0000000..6828bab
--- /dev/null
+++ b/debian/patches/fix_pkg-config.patch
@@ -0,0 +1,23 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sat, 10 Sep 2016 23:41:37 +0200
+Description: Library dir should not be used for includes
+ neither is there any sensible reason to add version info here
+
+--- a/libGkArrays.pc.in
++++ b/libGkArrays.pc.in
+@@ -6,5 +6,5 @@ includedir=@includedir@
+ Name: libGkArrays
+ Description: C++ library to build GkArrays.
+ Version: @VERSION@
+-Libs: -L${libdir} -l at PACKAGE@- at VERSION@
+-Cflags: -I${includedir}/@PACKAGE at -@VERSION@ -I${libdir}/@PACKAGE at -@VERSION@/include
++Libs: -L${libdir} -l at PACKAGE@
++Cflags: -I${includedir}/@PACKAGE@
+--- a/src/libProgressBar-1.2.0/libProgressBar.pc.in
++++ b/src/libProgressBar-1.2.0/libProgressBar.pc.in
+@@ -7,4 +7,4 @@ Name: libProgressBar
+ Description: C++ library to manage progress bar.
+ Version: @VERSION@
+ Libs: -L${libdir} -lProgressBar
+-Cflags: -I${includedir}/@PACKAGE at -@VERSION@
++Cflags: -I${includedir}/@PACKAGE@
diff --git a/debian/patches/series b/debian/patches/series
index e592159..4525b5c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
proper_soname.patch
+fix_pkg-config.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libgkarrays.git
More information about the debian-med-commit
mailing list