Message ID | 1381906247.31664.1.camel@phoenix |
---|---|
State | Rejected |
Headers | show |
On 16/10/13 08:50, Axel Lin wrote: > BR2_PACKAGE_ZMQPP_CLIENT depends on BR2_PACKAGE_ZMQPP which depends on > BR2_TOOLCHAIN_HAS_THREADS. > BR2_PACKAGE_ZMQPP_CLIENT is visible only when BR2_TOOLCHAIN_HAS_THREADS is > enabled, thus remove the duplicated dependency and comment for zmqpp client. Since the client itself depends on threads through boost as well as through zmqpp, I'd prefer to keep the dependency and comment. That way, if zmqpp ever looses its dependency on threads, we don't forget to keep it for the client. Regards, Arnout > > Signed-off-by: Axel Lin <axel.lin@ingics.com> > --- > package/zmqpp/Config.in | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/package/zmqpp/Config.in b/package/zmqpp/Config.in > index bbc4f95..bfbdf4b 100644 > --- a/package/zmqpp/Config.in > +++ b/package/zmqpp/Config.in > @@ -22,12 +22,8 @@ comment "zmqpp needs a toolchain w/ C++, IPv6, largefile, wchar, threads" > config BR2_PACKAGE_ZMQPP_CLIENT > bool "zmqpp client" > depends on BR2_PACKAGE_ZMQPP > - depends on BR2_TOOLCHAIN_HAS_THREADS # boost > select BR2_PACKAGE_BOOST > select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS > help > Build and install the zmqpp client, a command line tool that can be > used to listen or send to zeromq sockets. > - > -comment "zmqpp client needs a toolchain w/ threads" > - depends on BR2_PACKAGE_ZMQPP && !BR2_TOOLCHAIN_HAS_THREADS >
diff --git a/package/zmqpp/Config.in b/package/zmqpp/Config.in index bbc4f95..bfbdf4b 100644 --- a/package/zmqpp/Config.in +++ b/package/zmqpp/Config.in @@ -22,12 +22,8 @@ comment "zmqpp needs a toolchain w/ C++, IPv6, largefile, wchar, threads" config BR2_PACKAGE_ZMQPP_CLIENT bool "zmqpp client" depends on BR2_PACKAGE_ZMQPP - depends on BR2_TOOLCHAIN_HAS_THREADS # boost select BR2_PACKAGE_BOOST select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS help Build and install the zmqpp client, a command line tool that can be used to listen or send to zeromq sockets. - -comment "zmqpp client needs a toolchain w/ threads" - depends on BR2_PACKAGE_ZMQPP && !BR2_TOOLCHAIN_HAS_THREADS
BR2_PACKAGE_ZMQPP_CLIENT depends on BR2_PACKAGE_ZMQPP which depends on BR2_TOOLCHAIN_HAS_THREADS. BR2_PACKAGE_ZMQPP_CLIENT is visible only when BR2_TOOLCHAIN_HAS_THREADS is enabled, thus remove the duplicated dependency and comment for zmqpp client. Signed-off-by: Axel Lin <axel.lin@ingics.com> --- package/zmqpp/Config.in | 4 ---- 1 file changed, 4 deletions(-)