All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yu Ke <ke.yu@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 02/10] openssl: fix for non /usr/lib libdir case
Date: Mon, 11 Jul 2011 15:23:15 +0800	[thread overview]
Message-ID: <d2040a2c6c019c6bb92d08cdb5168b28382e3337.1310368636.git.ke.yu@intel.com> (raw)
In-Reply-To: <cover.1310368636.git.ke.yu@intel.com>
In-Reply-To: <cover.1310368636.git.ke.yu@intel.com>

if libdir is not /usr/lib, e.g /usr/lib64, openssl build will fail
because it still use /usr/lib as library dir.

this patch appends the configure option "--libdir" to specify the correct
library directory

Signed-off-by: Yu Ke <ke.yu@intel.com>
---
 meta/recipes-connectivity/openssl/openssl.inc      |    2 +-
 .../recipes-connectivity/openssl/openssl_0.9.8r.bb |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index a338f0e..d42ae1c 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -93,7 +93,7 @@ do_configure () {
         if [ "x$useprefix" = "x" ]; then
                 useprefix=/
         fi        
-	perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --openssldir=${libdir}/ssl $target
+	perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --openssldir=${libdir}/ssl --libdir=`basename ${libdir}` $target
 }
 
 do_compile () {
diff --git a/meta/recipes-connectivity/openssl/openssl_0.9.8r.bb b/meta/recipes-connectivity/openssl/openssl_0.9.8r.bb
index 48ec995..c95b1f1 100644
--- a/meta/recipes-connectivity/openssl/openssl_0.9.8r.bb
+++ b/meta/recipes-connectivity/openssl/openssl_0.9.8r.bb
@@ -1,6 +1,6 @@
 require openssl.inc
 
-PR = "r1"
+PR = "r2"
 SRC_URI += "file://debian/ca.patch \
             file://debian/config-hurd.patch;apply=no \
             file://debian/debian-targets.patch \
-- 
1.7.0.4




  parent reply	other threads:[~2011-07-11  7:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-11  7:23 [PATCH 00/10] [RFC] patch for non /usr/lib libdir - V2 Yu Ke
2011-07-11  7:23 ` [PATCH 01/10] native.bbclass: generate libdir from libdir_native Yu Ke
2011-07-11  7:23 ` Yu Ke [this message]
2011-07-11  7:23 ` [PATCH 03/10] libc-package.bbclass: fix for non /usr/lib libdir case Yu Ke
2011-07-11  7:23 ` [PATCH 04/10] python: fix for libdir=/usr/lib64 case Yu Ke
2011-07-11  7:23 ` [PATCH 05/10] python-native: fix for non /usr/lib libdir case Yu Ke
2011-07-11  7:23 ` [PATCH 06/10] perl: " Yu Ke
2011-07-11  7:23 ` [PATCH 07/10] libcap: " Yu Ke
2011-07-11  7:23 ` [PATCH 08/10] rpm: " Yu Ke
2011-07-11  7:23 ` [PATCH 09/10] sat-solver: " Yu Ke
2011-07-11  7:40 ` [PATCH 00/10] [RFC] patch for non /usr/lib libdir - V2 Koen Kooi
2011-07-11  7:54   ` Yu Ke
2011-07-11  8:13     ` Koen Kooi
2011-07-12 13:59 ` Richard Purdie

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=d2040a2c6c019c6bb92d08cdb5168b28382e3337.1310368636.git.ke.yu@intel.com \
    --to=ke.yu@intel.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 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.