summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch')
-rw-r--r--meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch b/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch
new file mode 100644
index 0000000000..ba332527f1
--- /dev/null
+++ b/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch
@@ -0,0 +1,59 @@
1Upstream-Status: Rejected
2
3Add pkgconfig support to libassuan.
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,11 +21,14 @@
14 ACLOCAL_AMFLAGS = -I m4
15 AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
16
17+pkgconfigdir = $(libdir)/pkgconfig
18+pkgconfig_DATA = assuan.pc
19+
20 EXTRA_DIST = config.rpath autogen.sh README.GIT \
21 ChangeLog-2011 doc/ChangeLog-2011 src/ChangeLog-2011 \
22 tests/ChangeLog-2011 contrib/ChangeLog-2011 \
23 build-aux/gitlog-to-changelog build-aux/git-log-footer \
24- build-aux/git-log-fix
25+ build-aux/git-log-fix assuan.pc.in
26
27 SUBDIRS = m4 src doc tests
28
29Index: assuan.pc.in
30==============================================================
31--- /dev/null
32+++ b/assuan.pc.in
33@@ -0,0 +1,12 @@
34+prefix=@prefix@
35+exec_prefix=@exec_prefix@
36+libdir=@libdir@
37+includedir=@includedir@
38+
39+Name: libassuan
40+Description: IPC library used by GnuPG and GPGME
41+Requires:
42+Version: @VERSION@
43+Libs: -L${libdir} -lassuan
44+Libs.private: -lgpg-error
45+Cflags: -I${includedir}
46Index: configure.ac
47==============================================================
48--- a/configure.ac
49+++ b/configure.ac
50@@ -380,5 +380,5 @@ AC_CONFIG_FILES([doc/Makefile])
51 AC_CONFIG_FILES([tests/Makefile])
52 AC_CONFIG_FILES([src/libassuan-config], [chmod +x src/libassuan-config])
53 AC_CONFIG_FILES([src/versioninfo.rc])
54-
55+AC_CONFIG_FILES([assuan.pc])
56 AC_OUTPUT
57--
581.7.5.4
59