[oe] [PATCH] curl: make CURL_FEATURES configurable again

Khem Raj raj.khem at gmail.com
Thu Oct 28 20:53:29 UTC 2010


On Thu, Oct 28, 2010 at 11:49 AM, Michael Smith <msmith at cbnco.com> wrote:
> On Thu, 28 Oct 2010, Khem Raj wrote:
>
>> -CURL_FEATURES = ${@['zlib,cookies,crypto-auth,dict,file,ftp,http,telnet,tftp','zlib,gnutls,cookies,crypto-auth,dict,file,ftp,http,telnet,tftp']["${BPN}" == "${PN}"]}
>> +CURL_FEATURES ?= "zlib,gnutls,cookies,crypto-auth,dict,file,ftp,http,telnet,tftp"
>> +CURL_FEATURES_virtclass-native = "zlib,cookies,crypto-auth,dict,file,ftp,http,telnet,tftp"
>
>> this change was done for a reason. this will not set correct override
>> for native recipes and we dont want gnutls on native recipe but if you
>> look closely the output then it will enable gnutls because
>> CURL_FEATURES_virtclass-native is ineffective in this case as you
>> already have a weak assignment.
>
> It seems to do the right thing here - CURL_FEATURES_virtclass-native is
> not weak, so in my curl-native config.log, I see --disable-gnutls.

certainly nor for me. here is what I get


oe_runconf() {
        if [ -x
/scratch/oe/work/x86_64-linux/curl-native-7.21.1-r4.1/curl-7.21.1/configure
] ; then

/scratch/oe/work/x86_64-linux/curl-native-7.21.1-r4.1/curl-7.21.1/configure
\
                 --build=x86_64-linux             --host=x86_64-linux
           --target=x86_64-linux
--prefix=/scratch/oe/sysroots/x86_64-linux/usr
--exec_prefix=/scratch/oe/sysroots/x86_64-linux/usr
--bindir=/scratch/oe/sysroots/x86_64-linux/usr/bin
--sbindir=/scratch/oe/sysroots/x86_64-linux/usr/sbin
--libexecdir=/scratch/oe/sysroots/x86_64-linux/usr/libexec
 --datadir=/scratch/oe/sysroots/x86_64-linux/usr/share
  --sysconfdir=/scratch/oe/sysroots/x86_64-linux/etc
--sharedstatedir=/scratch/oe/sysroots/x86_64-linux/com
 --localstatedir=/scratch/oe/sysroots/x86_64-linux/var
  --libdir=/scratch/oe/sysroots/x86_64-linux/usr/lib
--includedir=/scratch/oe/sysroots/x86_64-linux/usr/include
 --oldincludedir=/scratch/oe/sysroots/x86_64-linux/usr/include
          --infodir=/scratch/oe/sysroots/x86_64-linux/usr/share/info
           --mandir=/scratch/oe/sysroots/x86_64-linux/usr/share/man
            --with-libtool-sysroot
--without-libssh2             --with-random=/dev/urandom
--without-libidn                 --enable-cookies --enable-crypto-auth
--enable-dict --enable-file --enable-ftp --enable-http --enable-telnet
--enable-tftp --disable-ipv6
--with-zlib=/scratch/oe/sysroots/x86_64-linux/usr/lib/../
--with-gnutls=/scratch/oe/sysroots/x86_64-linux/usr/bin --without-ssl
--disable-ares "$@"
        else
                oefatal "no configure script found"
        fi

}
>
> (btw: why do we not want gnutls in curl-native?)
>

thats a different question does not solve the problem at hand.

> Mike
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list