Skip to contentSkip to conversation

beecrypt: needs threads support

PATCH New Gustavo Zacarias 2 participants 3 messages Jul 4, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 beecrypt: needs threads support

Fixes
http://autobuild.buildroot.net/results/e28e5dfe73d838b8bc4e9c586bc865d57d717f76/build-end.log

---
 package/beecrypt/Config.in |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
package/beecrypt/Config.in +5 -1
index 2673877..19c7f2f 100644
@@ -1,10 +1,14 @@
 config BR2_PACKAGE_BEECRYPT
 	bool "beecrypt"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_ICU if BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR
 	help
 	  Beecrypt is a general-purpose cryptography library.
 
 	  http://beecrypt.sf.net
 
+comment "beecrypt needs a toolchain with thread support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
+
 comment "beecrypt C++ support requires a toolchain with WCHAR enabled"
-	depends on BR2_INSTALL_LIBSTDCPP && !BR2_USE_WCHAR
+	depends on BR2_INSTALL_LIBSTDCPP && !BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.7.8.6
#1 lore raw

PATCH 2/2 rpm: needs threads support

Because beecrypt needs threads rpm does too since it's a mandatory dependency.

---
 package/rpm/Config.in |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
package/rpm/Config.in +5 -1
index a80a5a7..14072c9 100644
@@ -1,8 +1,12 @@
+comment "rpm requires a toolchain with thread support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
+
 comment "rpm requires libneon with SSL, XML and ZLIB support"
-	depends on !BR2_PACKAGE_NEON || BR2_PACKAGE_NEON_NOXML
+	depends on !BR2_PACKAGE_NEON || BR2_PACKAGE_NEON_NOXML && BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_RPM
 	bool "rpm"
+	depends on BR2_TOOLCHAIN_HAS_THREADS # beecrypt
 	select BR2_PACKAGE_BEECRYPT
 	select BR2_PACKAGE_POPT
 	select BR2_PACKAGE_OPENSSL
Signature · 1 line
1.7.8.6