asio: add PACKAGECONFIG boost
PATCH 1/1 asio: add PACKAGECONFIG boost
--- meta-oe/recipes-support/asio/asio_1.12.2.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-oe/recipes-support/asio/asio_1.12.2.bb +4 -0
@@ -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"
Signature · 1 line
2.21.0
Quoted 10 lines · Sean Nyekjaer
Signed-off-by Sean Nyekjaer <[email protected]>--- meta-oe/recipes-support/asio/asio_1.12.2.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-oe/recipes-support/asio/asio_1.12.2.bb +0
-0
meta-oe/recipes-support/asio/asio_1.12.2.bb SRC_URI[md5sum] = "312e53385e2daad10f08d57f91ad3431" · line 26
Quoted 7 lines
meta-oe/recipes-support/asio/asio_1.12.2.bb +4
-0@@ -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
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 28 lines · Adrian Bunk
Quoted 10 lines · Sean Nyekjaer
Signed-off-by Sean Nyekjaer <[email protected]>--- meta-oe/recipes-support/asio/asio_1.12.2.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-oe/recipes-support/asio/asio_1.12.2.bb +0
-0meta-oe/recipes-support/asio/asio_1.12.2.bb SRC_URI[md5sum] = "312e53385e2daad10f08d57f91ad3431" · line 26
Quoted 7 lines
meta-oe/recipes-support/asio/asio_1.12.2.bb +4
-0@@ -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:
(quoted diff) +2
-2-DEPENDS = "boost openssl" +DEPENDS = "openssl" -PACKAGECONFIG[boost] = "--with-boost,--without-boost,boost,boost" +PACKAGECONFIG[boost] = "--with-boost,--without-boost,boost"
Quoted 3 lines
cu
Adrian
Hi Adrian,
I missed the DEPENDS, thanks :-)
But why does the extra RDEPENDS looks wrong?
I'll send a PATCHv2
/Sean
Quoted 33 lines · Sean Nyekjaer
Quoted 24 lines · Adrian Bunk
Quoted 10 lines · Sean Nyekjaer
Signed-off-by Sean Nyekjaer <[email protected]>--- meta-oe/recipes-support/asio/asio_1.12.2.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-oe/recipes-support/asio/asio_1.12.2.bb +0
-0meta-oe/recipes-support/asio/asio_1.12.2.bb SRC_URI[md5sum] = "312e53385e2daad10f08d57f91ad3431" · line 25
Quoted 6 lines
meta-oe/recipes-support/asio/asio_1.12.2.bb +4
-0@@ -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:
Review
Quoted 4 lines
(quoted diff) +2
-2-DEPENDS = "boost openssl" +DEPENDS = "openssl" -PACKAGECONFIG[boost] = "--with-boost,--without-boost,boost,boost" +PACKAGECONFIG[boost] = "--with-boost,--without-boost,boost"Hi Adrian,
Quoted 2 lines
I missed the DEPENDS, thanks :-)
But why does the extra RDEPENDS looks wrong?
It forces all boost libraries to be installed on the target, no matter whether or not they are used.
Quoted 3 lines
I'll send a PATCHv2
/Sean
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed