From patchwork Wed Jan 17 14:31:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Knight X-Patchwork-Id: 862289 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zM8g16z4wz9t20 for ; Thu, 18 Jan 2018 01:31:57 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CE5B488526; Wed, 17 Jan 2018 14:31:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EDbjxShFpp7g; Wed, 17 Jan 2018 14:31:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1C75F884CF; Wed, 17 Jan 2018 14:31:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 8D8E51C01EF for ; Wed, 17 Jan 2018 14:31:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8892130101 for ; Wed, 17 Jan 2018 14:31:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aPqjpugF33JC for ; Wed, 17 Jan 2018 14:31:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from da1vs04.rockwellcollins.com (da1vs04.rockwellcollins.com [205.175.227.52]) by silver.osuosl.org (Postfix) with ESMTPS id 308992DCD8 for ; Wed, 17 Jan 2018 14:31:52 +0000 (UTC) Received: from ofwda1n02.rockwellcollins.com (HELO crulimr01.rockwellcollins.com) ([205.175.227.14]) by da1vs04.rockwellcollins.com with ESMTP; 17 Jan 2018 08:31:51 -0600 X-Received: from jdknight-PC.rccalab.inside (unknown [192.168.162.69]) by crulimr01.rockwellcollins.com (Postfix) with ESMTP id 7A36F60A41; Wed, 17 Jan 2018 08:31:50 -0600 (CST) From: James Knight To: buildroot@buildroot.org Date: Wed, 17 Jan 2018 09:31:48 -0500 Message-Id: <20180117143148.6252-1-james.knight@rockwellcollins.com> X-Mailer: git-send-email 2.13.3.windows.1 Subject: [Buildroot] [PATCH 1/1] package/libpqxx: update dependencies X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Knight MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "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 --- 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