Skip to contentSkip to conversation

boost: Add coment when C++ is missing

PATCH New Stephan Thamm 3 participants 4 messages Mar 2, 2012 – Mar 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boost: Add coment when C++ is missing

Hi,
a coworker just searched boost in the current release and was not able to find it. He even found out which section it was in but he was missing C++ support so he didn't see anything.

This patch would have saved him much time:

---
 package/boost/Config.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
package/boost/Config.in +3 -0
index 7598d02..eac91dc 100644
@@ -8,6 +8,9 @@ config BR2_PACKAGE_BOOST
 
          http://www.boost.org/
 
+comment "boost requires a toolchain with C++ support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP
+
 if BR2_PACKAGE_BOOST
 
 config BR2_PACKAGE_BOOST_MULTITHREADED
Signature · 1 line
1.7.9
#1 lore raw

PATCH 1/1 boost: Add coment when C++ is missing

Quoted 6 lines · On Friday 02 March 2012 18:52:03 Stephan Thamm wrote:

Hi,
a coworker just searched boost in the current release and was not able to find it. He even found out which section it was in but he was missing C++ support so he didn't see anything.

This patch would have saved him much time:

Thank you for this patch. Even small patches like this are much
appreciated!

Please add a Signed-off-by tag on your patch, i.e. a line saying

This is a short way for you to assert that you are entitled to contribute the patch under buildroot's GPL license. See
http://kerneltrap.org/files/Jeremy/DCO.txt for more details.

Also, e-mail conversation that shouldn't be included in the commit
message (like all your text above) should be preceded by a line containing only three dashes. This allows us to run your mail through 'git am' without any further manual processing required.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#2 lore raw

PATCH 1/1 boost: Add coment when C++ is missing

---
 package/boost/Config.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
package/boost/Config.in +3 -0
index 7598d02..eac91dc 100644
@@ -8,6 +8,9 @@ config BR2_PACKAGE_BOOST
 
          http://www.boost.org/
 
+comment "boost requires a toolchain with C++ support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP
+
 if BR2_PACKAGE_BOOST
 
 config BR2_PACKAGE_BOOST_MULTITHREADED
Signature · 1 line
1.7.9
#3 lore raw

PATCH 1/1 boost: Add coment when C++ is missing

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Stephan" == Stephan Thamm <[email protected]> writes:

Stephan> Signed-off-by: Stephan Thamm <[email protected]>

Thanks, committed with a small fix.

Your mailer had converted tabs to spaces, so I had to apply manually. Consider using 'git send-email' next time to not have those problems.

Stephan> ---

 Stephan>  package/boost/Config.in |    3 +++

Stephan> 1 files changed, 3 insertions(+), 0 deletions(-)

Stephan> diff --git a/package/boost/Config.in b/package/boost/Config.in Stephan> index 7598d02..eac91dc 100644
Stephan> --- a/package/boost/Config.in
Stephan> +++ b/package/boost/Config.in
Stephan> @@ -8,6 +8,9 @@ config BR2_PACKAGE_BOOST

Stephan> http://www.boost.org/

Stephan> +comment "boost requires a toolchain with C++ support enabled"
Stephan> + depends on !BR2_INSTALL_LIBSTDCPP
Stephan> +
Stephan> if BR2_PACKAGE_BOOST

The comment has to go above the main BR2_PACKAGE_BOOST, otherwise menuconfig won't indent the BR2_PACKAGE_BOOST_* options under boost.

Signature · 1 line
Bye, Peter Korsgaard