[oe] [PATCH] libgcrypt: Add symlink for mpi files

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Mon Aug 16 18:57:35 UTC 2010


2010/8/16 Jason Kridner <jkridner at beagleboard.org>:
> '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 <jkridner at beagleboard.org>
> ---
>  recipes/libgcrypt/libgcrypt.inc |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/recipes/libgcrypt/libgcrypt.inc b/recipes/libgcrypt/libgcrypt.inc
> index f29dc8d..0c44fff 100644
> --- a/recipes/libgcrypt/libgcrypt.inc
> +++ b/recipes/libgcrypt/libgcrypt.inc
> @@ -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/
> --
> 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.




More information about the Openembedded-devel mailing list