libgcrypt: Add symlink for mpi files
PATCH 1/1 libgcrypt: Add symlink for mpi files
'configure' doesn't seem to include the necessary '../mpi' in the symlinks that get generated. This hack will make the symlinks that do get created work.
--- recipes/libgcrypt/libgcrypt.inc | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
recipes/libgcrypt/libgcrypt.inc +6 -0
@@ -4,6 +4,8 @@ PRIORITY = "optional" LICENSE = "GPL LGPL FDL" DEPENDS = "libgpg-error" +PR = "r1" + SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \ file://add-pkgconfig-support.patch \ file://mips-h-constraint.patch"
@@ -14,6 +16,10 @@ EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities" ARM_INSTRUCTION_SET = "arm" +do_configure_append() { + ln -s ${S}/mpi ${S}/mpi/mpi +} + do_install_append() { install -d ${D}/${libdir}/pkgconfig/ cp ${S}/src/*.pc ${D}/${libdir}/pkgconfig/
Signature · 1 line
1.5.6.4
2010/8/16 Jason Kridner <[email protected]>:
Quoted 30 lines
'configure' doesn't seem to include the necessary '../mpi' in the symlinks that get generated. This hack will make the symlinks that do get created work.
Signed-off-by Jason Kridner <[email protected]>---
recipes/libgcrypt/libgcrypt.inc | 6 ++++++1 files changed, 6 insertions(+), 0 deletions(-)recipes/libgcrypt/libgcrypt.inc +0
-0@@ -4,6 +4,8 @@ PRIORITY = "optional"LICENSE = "GPL LGPL FDL"
DEPENDS = "libgpg-error"recipes/libgcrypt/libgcrypt.inc +2
-0+PR = "r1" +SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \
file://add-pkgconfig-support.patch \
file://mips-h-constraint.patch"recipes/libgcrypt/libgcrypt.inc +0
-0@@ -14,6 +16,10 @@ EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"ARM_INSTRUCTION_SET = "arm"
recipes/libgcrypt/libgcrypt.inc +4
-0+do_configure_append() { + ln -s ${S}/mpi ${S}/mpi/mpi +} +
Quoted 5 lines
do_install_append() {
install -d ${D}/${libdir}/pkgconfig/
cp ${S}/src/*.pc ${D}/${libdir}/pkgconfig/
--
1.5.6.4
I have some concerns with this patch.
Jason mentioned this problem on irc last sunday. I peeked into it and I could not reproduce is (and for me the symlinks were created properly)
I guess others have no problem with it either (I'm fairly sure the koens autobuilder will also build this (as gtk+ depends on libgcrypt).
Jason, have you tested rebuilding from scratch on dev head with no local patches/changes ? Does the problem then still occur ??? (or in other words: are you sure it is nothing local)
Frans.