All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Yocto User <yocto_user@gmx.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] expect: install header files in usual location
Date: Wed, 15 Apr 2015 15:51:15 +0100	[thread overview]
Message-ID: <1429109475.6976.124.camel@linuxfoundation.org> (raw)
In-Reply-To: <552E7098.9040304@gmx.com>

On Wed, 2015-04-15 at 10:07 -0400, Yocto User wrote:
> This patch resolves [Bug 7552] where the headers for the expect library 
> were installed into the wrong location.

Few minor comments/tweaks needed:

The correct form for bug numbers is:

[YOCTO #7552]

> 
> ---
>   meta/recipes-devtools/expect/expect_5.45.bb |   12 ++++--------
>   1 file changed, 4 insertions(+), 8 deletions(-)
> 
> diff --git a/meta/recipes-devtools/expect/expect_5.45.bb 
> b/meta/recipes-devtools/expect/expect_5.45.bb
> index 264f007..4129ab1 100644
> --- a/meta/recipes-devtools/expect/expect_5.45.bb
> +++ b/meta/recipes-devtools/expect/expect_5.45.bb
> @@ -18,7 +18,7 @@ RDEPENDS_${PN} = "tcl"
> 
>   inherit autotools
> 
> -PR = "r1"
> +PR = "r2"

No need to bump PR now.

>   SRC_URI = "${SOURCEFORGE_MIRROR}/expect/Expect/${PV}/${BPN}${PV}.tar.gz \
>              file://0001-configure.in.patch \
> @@ -40,8 +40,7 @@ do_install_append() {
>           sed -e 's|$dir|${libdir}|' -i 
> ${D}${libdir}/expect${PV}/pkgIndex.tcl
>   }
> 
> -EXTRA_OECONF += "--includedir=${STAGING_INCDIR} \
> -                 --with-tcl=${STAGING_LIBDIR} \
> +EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \
>                    --with-tclinclude=${STAGING_INCDIR}/tcl8.6 \
>                    --enable-shared \
>                    --enable-threads \
> @@ -52,12 +51,9 @@ EXTRA_OEMAKE_install = " 'SCRIPTS=' "
>   FILES_${PN}-dbg += "${libdir}/${BPN}${PV}/.debug \
>                       ${libdir}/.debug \
>                      "
> +
>   FILES_${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \
> -                   ${STAGING_INCDIR}/expect.h \
> -                   ${STAGING_INCDIR}/expect_tcl.h \
> -                   ${STAGING_INCDIR}/expect_comm.h \
> -                   ${STAGING_INCDIR}/tcldbg.h \
> -                   ${includedir}/*.h \
> +                   ${includedir} \
>                     "

Isn't this included in FILES_${PN}-dev by default?

Cheers,

Richard



  reply	other threads:[~2015-04-15 14:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-15 14:07 [PATCH] expect: install header files in usual location Yocto User
2015-04-15 14:51 ` Richard Purdie [this message]
2015-04-15 15:02   ` Gary Thomas
2015-04-15 16:44     ` Yocto User

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1429109475.6976.124.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=yocto_user@gmx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.