summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libksba/libksba
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libksba/libksba')
-rw-r--r--meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch b/meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch
new file mode 100644
index 0000000000..fe1ec0ff2f
--- /dev/null
+++ b/meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch
@@ -0,0 +1,59 @@
1Upstream-Status: Rejected
2
3Add pkgconfig support to libksba.
4This patch is rejected by upstream for the reason below:
5They think pkgconfig adds no portability and maintaining them is not worthwhile.
6
7Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
8
9Index: Makefile.am
10===============================================================
11--- a/Makefile.am
12+++ b/Makefile.am
13@@ -21,6 +21,9 @@
14 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
15 AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
16
17+pkgconfigdir = ${libdir}/pkgconfig
18+pkgconfig_DATA = ksba.pc
19+
20 # (A suitable gitlog-to-changelog script can be found in GnuPG master.)
21 GITLOG_TO_CHANGELOG=gitlog-to-changelog
22
23Index: configure.ac
24===============================================================
25--- a/configure.ac
26+++ b/configure.ac
27@@ -399,6 +399,7 @@ m4/Makefile
28 gl/Makefile
29 src/Makefile
30 src/ksba-config
31 src/versioninfo.rc
32+ksba.pc
33 tests/Makefile
34 doc/Makefile
35
36Index: src/ksba.pc.in
37===============================================================
38--- /dev/null
39+++ b/ksba.pc.in
40@@ -0,0 +1,16 @@
41+prefix=@prefix@
42+exec_prefix=@exec_prefix@
43+libdir=@libdir@
44+includedir=@includedir@
45+
46+# API info
47+api_version=@KSBA_CONFIG_API_VERSION@
48+
49+Name: ksba
50+Description: Libksba provides an easy API to create and parse X.509 and CMS related objects
51+Requires:
52+Version: @VERSION@
53+Libs: -L${libdir} -lksba
54+Libs.private: -L{libdir} -lgpg-error
55+Cflags: -I${includedir}
56+
57--
581.7.5.4
59