Patchwork libgpg-error: fix pkgconfig.patch

login
register
mail settings
Submitter Tim Orling
Date July 17, 2014, 11:07 p.m.
Message ID <1405638465-23793-1-git-send-email-TicoTimo@gmail.com>
Download mbox | patch
Permalink /patch/75969/
State Accepted
Commit 6cb4ba9508f9e6cba89639005c047f8249a41c5f
Headers show

Comments

Tim Orling - July 17, 2014, 11:07 p.m.
Typo in pkgconfig.patch:
   -Libs: -L{libdir} -lgpg-error
vs.
   +Libs: -L${libdir} -lgpg-error

This patch fixes failure in libgcrypt-native do_configure.
| ../x86_64-linux-libtool: line 6001: cd: {libdir}: No such file or directory
| x86_64-linux-libtool: link: cannot determine absolute directory name of `{libdir}'

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
---
 meta/recipes-support/libgpg-error/libgpg-error-1.12/pkgconfig.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-support/libgpg-error/libgpg-error-1.12/pkgconfig.patch b/meta/recipes-support/libgpg-error/libgpg-error-1.12/pkgconfig.patch
index 2a2c1e9..89c9d22 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error-1.12/pkgconfig.patch
+++ b/meta/recipes-support/libgpg-error/libgpg-error-1.12/pkgconfig.patch
@@ -52,7 +52,7 @@  Index: libgpg-error-1.12/src/gpg-error.pc.in
 +Name: gpg-error
 +Description: a library that defines common error values for all GnuPG components
 +Version: @VERSION@
-+Libs: -L{libdir} -lgpg-error
++Libs: -L${libdir} -lgpg-error
 +Cflags: -I${includedir}
 Index: libgpg-error-1.12/src/gpg-error.m4
 ===================================================================