summaryrefslogtreecommitdiffstats
path: root/meta/packages/libgcrypt/files/add-pkgconfig-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/libgcrypt/files/add-pkgconfig-support.patch')
-rw-r--r--meta/packages/libgcrypt/files/add-pkgconfig-support.patch41
1 files changed, 14 insertions, 27 deletions
diff --git a/meta/packages/libgcrypt/files/add-pkgconfig-support.patch b/meta/packages/libgcrypt/files/add-pkgconfig-support.patch
index 9b00e8262a..24a59787a2 100644
--- a/meta/packages/libgcrypt/files/add-pkgconfig-support.patch
+++ b/meta/packages/libgcrypt/files/add-pkgconfig-support.patch
@@ -1,17 +1,19 @@
1diff -Nur libgcrypt-1.2.4/configure.ac libgcrypt11-1.2.4/configure.ac 1Index: libgcrypt-1.2.4/configure.ac
2--- libgcrypt-1.2.4/configure.ac 2007-02-01 19:41:06.000000000 +0100 2===================================================================
3+++ libgcrypt11-1.2.4/configure.ac 2007-02-11 13:05:36.000000000 +0100 3--- libgcrypt-1.2.4.orig/configure.ac 2008-03-19 22:14:50.000000000 +0000
4@@ -808,6 +808,7 @@ 4+++ libgcrypt-1.2.4/configure.ac 2008-03-19 22:14:58.000000000 +0000
5@@ -807,6 +807,7 @@
6 doc/Makefile
5 src/Makefile 7 src/Makefile
6 src/gcrypt.h 8 src/gcrypt.h
7 src/libgcrypt-config
8+src/libgcrypt.pc 9+src/libgcrypt.pc
10 src/libgcrypt-config
9 tests/Makefile 11 tests/Makefile
10 w32-dll/Makefile 12 w32-dll/Makefile
11 ]) 13Index: libgcrypt-1.2.4/src/libgcrypt.pc.in
12diff -Nur libgcrypt-1.2.4/src/libgcrypt.pc.in libgcrypt11-1.2.4/src/libgcrypt.pc.in 14===================================================================
13--- libgcrypt-1.2.4/src/libgcrypt.pc.in 1970-01-01 01:00:00.000000000 +0100 15--- /dev/null 1970-01-01 00:00:00.000000000 +0000
14+++ libgcrypt11-1.2.4/src/libgcrypt.pc.in 2007-02-11 13:03:30.000000000 +0100 16+++ libgcrypt-1.2.4/src/libgcrypt.pc.in 2008-03-19 22:14:58.000000000 +0000
15@@ -0,0 +1,32 @@ 17@@ -0,0 +1,32 @@
16+# Process this file with autoconf to produce a pkg-config metadata file. 18+# Process this file with autoconf to produce a pkg-config metadata file.
17+# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation 19+# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation
@@ -42,21 +44,6 @@ diff -Nur libgcrypt-1.2.4/src/libgcrypt.pc.in libgcrypt11-1.2.4/src/libgcrypt.pc
42+Description: GNU crypto library 44+Description: GNU crypto library
43+URL: http://www.gnupg.org 45+URL: http://www.gnupg.org
44+Version: @VERSION@ 46+Version: @VERSION@
45+Libs: -L${libdir} @LIBGCRYPT_CONFIG_LIBS@ 47+Libs: -L${libdir} -lgcrypt
46+Libs.private: @GPG_ERROR_LIBS@ 48+Libs.private: -L${libdir} -lgpg-error
47+Cflags: -I${includedir} @LIBGCRYPT_CONFIG_CFLAGS@ @GPG_ERROR_CFLAGS@ 49+Cflags: -I${includedir}
48diff -Nur libgcrypt-1.2.4/src/Makefile.am libgcrypt11-1.2.4/src/Makefile.am
49--- libgcrypt-1.2.4/src/Makefile.am 2006-11-30 16:38:18.000000000 +0100
50+++ libgcrypt11-1.2.4/src/Makefile.am 2007-02-11 13:10:03.000000000 +0100
51@@ -27,6 +27,11 @@
52
53 lib_LTLIBRARIES = libgcrypt.la
54
55+# Pkg-config script.
56+pkgconfigdir = $(libdir)/pkgconfig
57+pkgconfig_DATA = libgcrypt.pc
58+DISTCLEANFILES = $(pkgconfig_DATA)
59+
60 if HAVE_LD_VERSION_SCRIPT
61 libgcrypt_version_script_cmd = -Wl,--version-script=$(srcdir)/libgcrypt.vers
62 else