[oe] [meta-oe][PATCH] asio: add PACKAGECONFIG boost

Sean Nyekjaer sean at geanix.com
Thu Mar 7 09:03:08 UTC 2019



On 07/03/2019 09.53, Adrian Bunk wrote:
> On Thu, Mar 07, 2019 at 09:29:17AM +0100, Sean Nyekjaer wrote:
>> Signed-off-by: Sean Nyekjaer <sean at geanix.com>
>> ---
>>   meta-oe/recipes-support/asio/asio_1.12.2.bb | 4 ++++
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/meta-oe/recipes-support/asio/asio_1.12.2.bb b/meta-oe/recipes-support/asio/asio_1.12.2.bb
>> index ee548fd3a..ec705c275 100644
>> --- a/meta-oe/recipes-support/asio/asio_1.12.2.bb
>> +++ b/meta-oe/recipes-support/asio/asio_1.12.2.bb
>> @@ -20,3 +20,7 @@ SRC_URI[md5sum] = "312e53385e2daad10f08d57f91ad3431"
>>   SRC_URI[sha256sum] = "4e27dcb37456ba707570334b91f4798721111ed67b69915685eac141895779aa"
>>   
>>   SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2"
>> +
>> +PACKAGECONFIG ??= "boost"
>> +
>> +PACKAGECONFIG[boost] = "--with-boost,--without-boost,boost,boost"
> 
> Adding an RDEPENDS in the PACKAGECONFIG looks wrong.
> boost should also be removed from the DEPENDS above when it is disabled.
> 
> This would be on top of your patch:
> -DEPENDS = "boost openssl"
> +DEPENDS = "openssl"
> -PACKAGECONFIG[boost] = "--with-boost,--without-boost,boost,boost"
> +PACKAGECONFIG[boost] = "--with-boost,--without-boost,boost"
> 
> cu
> Adrian
> 
Hi Adrian,

I missed the DEPENDS, thanks :-)
But why does the extra RDEPENDS looks wrong?

I'll send a PATCHv2

/Sean


More information about the Openembedded-devel mailing list