Make libgpg-error supply gpg-error.pc for pkgconfig use.
authorChris Larson <clarson@kergoth.com>
Thu, 15 Jul 2004 23:59:37 +0000 (23:59 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 15 Jul 2004 23:59:37 +0000 (23:59 +0000)
BKrev: 40f71a69fQ0E2UxLVMx6HN9BEoZ23Q

libgpg-error/libgpg-error-0.7/pkgconfig.patch [new file with mode: 0644]
libgpg-error/libgpg-error_0.7.oe

diff --git a/libgpg-error/libgpg-error-0.7/pkgconfig.patch b/libgpg-error/libgpg-error-0.7/pkgconfig.patch
new file mode 100644 (file)
index 0000000..e69de29
index c4ef312..57b1317 100644 (file)
@@ -1,16 +1,17 @@
-PR = "r1"
+PR = "r2"
 DESCRIPTION = "GPG-Error library"
 SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "GPL LGPL FDL"
 
-SRC_URI = "ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-${PV}.tar.gz"
+SRC_URI = "ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-${PV}.tar.gz \
+          file://pkgconfig.patch;patch=1"
 
 # move libgpg-error-config into -dev package
 FILES_${PN} = "${libdir}/lib*.so.*"
 FILES_${PN}-dev += "${bindir}"
 
-inherit autotools 
+inherit autotools pkgconfig
 
 do_stage() {
        oe_libinstall -a -so -C src libgpg-error ${STAGING_LIBDIR}