Patchwork openssl: allow to add configure options through EXTRA_OECONF

login
register
mail settings
Submitter Andreas Oberritter
Date Dec. 9, 2010, 5:04 p.m.
Message ID <1291914292-25223-1-git-send-email-obi@opendreambox.org>
Download mbox | patch
Permalink /patch/43/
State Accepted
Commit c1d9a905c20ca9ddf83da74fa2cbb8d0d71b8e49
Headers show

Comments

Andreas Oberritter - Dec. 9, 2010, 5:04 p.m.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 recipes/openssl/openssl.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Michael Smith - Dec. 9, 2010, 6:07 p.m.
Andreas Oberritter wrote:
> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>

 > -	perl ./Configure shared --prefix=$useprefix 
--openssldir=${libdir}/ssl $target
 > +	perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix 
--openssldir=${libdir}/ssl $target

Acked-by: Michael Smith <msmith@cbnco.com>

Patch

diff --git a/recipes/openssl/openssl.inc b/recipes/openssl/openssl.inc
index bcebc4a..95572e1 100644
--- a/recipes/openssl/openssl.inc
+++ b/recipes/openssl/openssl.inc
@@ -97,7 +97,7 @@  do_configure () {
         if [ "x$useprefix" = "x" ]; then
                 useprefix=/
         fi        
-	perl ./Configure shared --prefix=$useprefix --openssldir=${libdir}/ssl $target
+	perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --openssldir=${libdir}/ssl $target
 
 	eval "${@base_contains('DISTRO_FEATURES', 'largefile', '', 'sed -i -e "/_FILE_OFFSET_BITS/,/#endif/d" ${S}/crypto/bio/bss_file.c', d)}"
 	eval "${@base_contains('DISTRO_FEATURES', 'ipv6', '', 'sed -i -e "/AF_INET6/,/break/d" ${S}/crypto/bio/bss_dgram.c', d)}"