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.patch44
1 files changed, 21 insertions, 23 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
index ba332527f1..ac1604fe0b 100644
--- a/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch
+++ b/meta/recipes-support/libassuan/files/libassuan-add-pkgconfig-support.patch
@@ -1,18 +1,18 @@
1Upstream-Status: Rejected
2
3Add pkgconfig support to libassuan. 1Add pkgconfig support to libassuan.
4This patch is rejected by upstream for the reason below: 2This patch is rejected by upstream for the reason below:
5They think pkgconfig adds no portability and maintaining them is not worthwhile. 3They think pkgconfig adds no portability and maintaining them is not worthwhile.
6 4
5Upstream-Status: Rejected
7Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 6Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
7Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
8 8
9Index: Makefile.am 9Index: libassuan-2.1.0/Makefile.am
10============================================================== 10===================================================================
11--- a/Makefile.am 11--- libassuan-2.1.0.orig/Makefile.am
12+++ b/Makefile.am 12+++ libassuan-2.1.0/Makefile.am
13@@ -21,11 +21,14 @@ 13@@ -24,10 +24,13 @@ AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gz
14 ACLOCAL_AMFLAGS = -I m4 14 # (A suitable gitlog-to-changelog script can be found in GnuPG master.)
15 AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip 15 GITLOG_TO_CHANGELOG=gitlog-to-changelog
16 16
17+pkgconfigdir = $(libdir)/pkgconfig 17+pkgconfigdir = $(libdir)/pkgconfig
18+pkgconfig_DATA = assuan.pc 18+pkgconfig_DATA = assuan.pc
@@ -20,16 +20,15 @@ Index: Makefile.am
20 EXTRA_DIST = config.rpath autogen.sh README.GIT \ 20 EXTRA_DIST = config.rpath autogen.sh README.GIT \
21 ChangeLog-2011 doc/ChangeLog-2011 src/ChangeLog-2011 \ 21 ChangeLog-2011 doc/ChangeLog-2011 src/ChangeLog-2011 \
22 tests/ChangeLog-2011 contrib/ChangeLog-2011 \ 22 tests/ChangeLog-2011 contrib/ChangeLog-2011 \
23 build-aux/gitlog-to-changelog build-aux/git-log-footer \ 23- build-aux/git-log-footer build-aux/git-log-fix
24- build-aux/git-log-fix 24+ build-aux/git-log-footer build-aux/git-log-fix assuan.pc.in
25+ build-aux/git-log-fix assuan.pc.in
26 25
27 SUBDIRS = m4 src doc tests 26 SUBDIRS = m4 src doc tests
28 27
29Index: assuan.pc.in 28Index: libassuan-2.1.0/assuan.pc.in
30============================================================== 29===================================================================
31--- /dev/null 30--- /dev/null
32+++ b/assuan.pc.in 31+++ libassuan-2.1.0/assuan.pc.in
33@@ -0,0 +1,12 @@ 32@@ -0,0 +1,12 @@
34+prefix=@prefix@ 33+prefix=@prefix@
35+exec_prefix=@exec_prefix@ 34+exec_prefix=@exec_prefix@
@@ -43,17 +42,16 @@ Index: assuan.pc.in
43+Libs: -L${libdir} -lassuan 42+Libs: -L${libdir} -lassuan
44+Libs.private: -lgpg-error 43+Libs.private: -lgpg-error
45+Cflags: -I${includedir} 44+Cflags: -I${includedir}
46Index: configure.ac 45Index: libassuan-2.1.0/configure.ac
47============================================================== 46===================================================================
48--- a/configure.ac 47--- libassuan-2.1.0.orig/configure.ac
49+++ b/configure.ac 48+++ libassuan-2.1.0/configure.ac
50@@ -380,5 +380,5 @@ AC_CONFIG_FILES([doc/Makefile]) 49@@ -433,7 +433,7 @@ AC_CONFIG_FILES([doc/Makefile])
51 AC_CONFIG_FILES([tests/Makefile]) 50 AC_CONFIG_FILES([tests/Makefile])
52 AC_CONFIG_FILES([src/libassuan-config], [chmod +x src/libassuan-config]) 51 AC_CONFIG_FILES([src/libassuan-config], [chmod +x src/libassuan-config])
53 AC_CONFIG_FILES([src/versioninfo.rc]) 52 AC_CONFIG_FILES([src/versioninfo.rc])
54- 53-
55+AC_CONFIG_FILES([assuan.pc]) 54+AC_CONFIG_FILES([assuan.pc])
56 AC_OUTPUT 55 AC_OUTPUT
57-- 56
581.7.5.4 57 echo "
59