Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Yocto User <yocto_user@gmx.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] expect: install header files in usual location
Date: Wed, 15 Apr 2015 10:07:20 -0400	[thread overview]
Message-ID: <552E7098.9040304@gmx.com> (raw)

This patch resolves [Bug 7552] where the headers for the expect library 
were installed into the wrong location.

---
  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"

  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} \
                    "

  FILES_${PN} += "${libdir}/libexpect${PV}.so \
-- 
1.7.9.5



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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-15 14:07 Yocto User [this message]
2015-04-15 14:51 ` [PATCH] expect: install header files in usual location Richard Purdie
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=552E7098.9040304@gmx.com \
    --to=yocto_user@gmx.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox