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.patch57
1 files changed, 0 insertions, 57 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
deleted file mode 100644
index ac1604fe0b..0000000000
--- a/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch
+++ /dev/null
@@ -1,57 +0,0 @@
1Add pkgconfig support to libassuan.
2This patch is rejected by upstream for the reason below:
3They think pkgconfig adds no portability and maintaining them is not worthwhile.
4
5Upstream-Status: Rejected
6Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
7Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
8
9Index: libassuan-2.1.0/Makefile.am
10===================================================================
11--- libassuan-2.1.0.orig/Makefile.am
12+++ libassuan-2.1.0/Makefile.am
13@@ -24,10 +24,13 @@ AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gz
14 # (A suitable gitlog-to-changelog script can be found in GnuPG master.)
15 GITLOG_TO_CHANGELOG=gitlog-to-changelog
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/git-log-footer build-aux/git-log-fix
24+ build-aux/git-log-footer build-aux/git-log-fix assuan.pc.in
25
26 SUBDIRS = m4 src doc tests
27
28Index: libassuan-2.1.0/assuan.pc.in
29===================================================================
30--- /dev/null
31+++ libassuan-2.1.0/assuan.pc.in
32@@ -0,0 +1,12 @@
33+prefix=@prefix@
34+exec_prefix=@exec_prefix@
35+libdir=@libdir@
36+includedir=@includedir@
37+
38+Name: libassuan
39+Description: IPC library used by GnuPG and GPGME
40+Requires:
41+Version: @VERSION@
42+Libs: -L${libdir} -lassuan
43+Libs.private: -lgpg-error
44+Cflags: -I${includedir}
45Index: libassuan-2.1.0/configure.ac
46===================================================================
47--- libassuan-2.1.0.orig/configure.ac
48+++ libassuan-2.1.0/configure.ac
49@@ -433,7 +433,7 @@ AC_CONFIG_FILES([doc/Makefile])
50 AC_CONFIG_FILES([tests/Makefile])
51 AC_CONFIG_FILES([src/libassuan-config], [chmod +x src/libassuan-config])
52 AC_CONFIG_FILES([src/versioninfo.rc])
53-
54+AC_CONFIG_FILES([assuan.pc])
55 AC_OUTPUT
56
57 echo "