All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] openssl: backport fix for empty prefix from oe master
@ 2011-05-17 12:35 Phil Blundell
  2011-05-17 13:49 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Blundell @ 2011-05-17 12:35 UTC (permalink / raw)
  To: openembedded-core

This fixes a build failure when ${prefix}="".

Signed-off-by: Phil Blundell <philb@gnu.org>
---
 meta/recipes-connectivity/openssl/openssl.inc |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index fe168c3..f1ac718 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -89,7 +89,11 @@ do_configure () {
 	esac
 	# inject machine-specific flags
 	sed -i -e "s|^\(\"$target\",\s*\"[^:]\+\):\([^:]\+\)|\1:${CFLAG}|g" Configure
-	perl ./Configure shared --prefix=${prefix} --openssldir=${libdir}/ssl $target
+        useprefix=${prefix}
+        if [ "x$useprefix" = "x" ]; then
+                useprefix=/
+        fi        
+	perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --openssldir=${libdir}/ssl $target
 }
 
 do_compile () {
-- 
1.7.1






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] openssl: backport fix for empty prefix from oe master
  2011-05-17 12:35 [PATCH] openssl: backport fix for empty prefix from oe master Phil Blundell
@ 2011-05-17 13:49 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-05-17 13:49 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: openembedded-core

On Tue, 2011-05-17 at 13:35 +0100, Phil Blundell wrote:
> This fixes a build failure when ${prefix}="".
> 
> Signed-off-by: Phil Blundell <philb@gnu.org>
> ---
>  meta/recipes-connectivity/openssl/openssl.inc |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)

Applied, thanks (when I can push to the repo).

Cheers,

Richard




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-17 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-17 12:35 [PATCH] openssl: backport fix for empty prefix from oe master Phil Blundell
2011-05-17 13:49 ` Richard Purdie

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.