Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libpqxx: update dependencies
@ 2018-01-17 14:31 James Knight
  2018-01-17 21:24 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: James Knight @ 2018-01-17 14:31 UTC (permalink / raw)
  To: buildroot

As of v6.x, libpqxx takes advantage of thread support for transaction
sleeps (adding BR2_TOOLCHAIN_HAS_THREADS).

Re-order dependencies for:
 - Key feature (postgresql)
 - Architectures dependencies
 - Remaining dependencies

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
---
Fixes:
http://autobuild.buildroot.net/results/e1d6f62edfc5eae90953f0a93fdb30d713409c37/
---
 package/libpqxx/Config.in | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/package/libpqxx/Config.in b/package/libpqxx/Config.in
index 7832d2508ec6d4932d01d769e4d7642d01a45a0d..18f905b3780beeac9731e9ea24db971e3a4ddeb9 100644
--- a/package/libpqxx/Config.in
+++ b/package/libpqxx/Config.in
@@ -1,14 +1,17 @@
 config BR2_PACKAGE_LIBPQXX
 	bool "libpqxx"
-	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
 	depends on BR2_PACKAGE_POSTGRESQL
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
+	depends on BR2_INSTALL_LIBSTDCPP
 	help
 	  libpqxx is the official C++ client API for PostgreSQL, the
 	  enterprise-strength open-source relational database.
 
 	  http://pqxx.org/development/libpqxx/
 
-comment "libpqxx needs toolchain w/ C++ support, gcc >= 4.7"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
+comment "libpqxx needs toolchain w/ C++, gcc >= 4.7, threads"
 	depends on BR2_PACKAGE_POSTGRESQL
+	depends on !BR2_INSTALL_LIBSTDCPP || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
+		!BR2_TOOLCHAIN_HAS_THREADS
-- 
2.13.3.windows.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/libpqxx: update dependencies
  2018-01-17 14:31 [Buildroot] [PATCH 1/1] package/libpqxx: update dependencies James Knight
@ 2018-01-17 21:24 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-01-17 21:24 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 17 Jan 2018 09:31:48 -0500, James Knight wrote:
> As of v6.x, libpqxx takes advantage of thread support for transaction
> sleeps (adding BR2_TOOLCHAIN_HAS_THREADS).
> 
> Re-order dependencies for:
>  - Key feature (postgresql)
>  - Architectures dependencies
>  - Remaining dependencies
> 
> Signed-off-by: James Knight <james.knight@rockwellcollins.com>
> ---
> Fixes:
> http://autobuild.buildroot.net/results/e1d6f62edfc5eae90953f0a93fdb30d713409c37/

This should have been before the --- and Signed-off-by, because we want
to have this information as part of the commit log.

I've applied after adjusting this.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-17 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-17 14:31 [Buildroot] [PATCH 1/1] package/libpqxx: update dependencies James Knight
2018-01-17 21:24 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox