[oe-commits] [meta-openembedded] 03/69: lftp: fix PACKAGECONFIG[readline]

git at git.openembedded.org git at git.openembedded.org
Tue Dec 13 10:14:10 UTC 2016


martin_jansa pushed a commit to branch morty-next
in repository meta-openembedded.

commit dbabbd8bf33de6cc46818dbb0602ec798ea5efb4
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Fri Oct 28 00:11:58 2016 -0700

    lftp: fix PACKAGECONFIG[readline]
    
    The --with-readline means check readline automatically, and will cause build
    failures when there is /usr/include/readline:
    
    ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
    
    Use --with-readline=${STAGING_INCDIR}/.. to fix the problem. And also add
    --with-readline=no when PACKAGECONFIG is not set for readline.
    
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>
    (cherry picked from commit 06d15756bd6f77da57f527f08c9f2a3227acb3e9)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb b/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb
index e4a8e49..b0cd399 100644
--- a/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb
+++ b/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb
@@ -21,7 +21,7 @@ PACKAGECONFIG[libidn] = "--with-libidn, --without-libidn, libidn"
 PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
 PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_INCDIR}/.., --without-zlib, zlib"
 PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls"
-PACKAGECONFIG[readline] = "--with-readline --with-readline-inc=${STAGING_INCDIR} --with-readline-lib=-lreadline, , readline"
+PACKAGECONFIG[readline] = "--with-readline=${STAGING_INCDIR}/.. --with-readline-inc=${STAGING_INCDIR} --with-readline-lib=-lreadline, --with-readline=no, readline"
 PACKAGECONFIG[expat] = "--with-expat=${STAGING_INCDIR}/.. --with-expat-inc=${STAGING_INCDIR} --with-expat-lib=-lexpat, , expat"
 
 FILES_${PN}-dbg += "${libdir}/lftp/${PV}/.debug"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list