Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 06/10] package/minetest: add postgresql optional dependency
Date: Thu, 13 Jul 2017 14:40:48 +0200	[thread overview]
Message-ID: <20170713124052.13708-6-romain.naour@gmail.com> (raw)
In-Reply-To: <20170713124052.13708-1-romain.naour@gmail.com>

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 package/minetest/minetest.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/minetest/minetest.mk b/package/minetest/minetest.mk
index 44a28ce..ba0bf24 100644
--- a/package/minetest/minetest.mk
+++ b/package/minetest/minetest.mk
@@ -16,7 +16,6 @@ MINETEST_CONF_OPTS = \
 	-DENABLE_GLES=OFF \
 	-DENABLE_LUAJIT=ON \
 	-DENABLE_CURSES=OFF \
-	-DENABLE_POSTGRESQL=OFF \
 	-DENABLE_LEVELDB=OFF \
 	-DENABLE_REDIS=OFF \
 	-DENABLE_SPATIAL=OFF \
@@ -58,6 +57,13 @@ else
 MINETEST_CONF_OPTS += -DENABLE_CURL=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
+MINETEST_DEPENDENCIES += postgresql
+MINETEST_CONF_OPTS += -DENABLE_POSTGRESQL=ON
+else
+MINETEST_CONF_OPTS += -DENABLE_POSTGRESQL=OFF
+endif
+
 ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
 MINETEST_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES)
 MINETEST_CONF_OPTS += -DENABLE_GETTEXT=ON
-- 
2.9.4

  parent reply	other threads:[~2017-07-13 12:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-13 12:40 [Buildroot] [PATCH v3 01/10] package/minetest: new package Romain Naour
2017-07-13 12:40 ` [Buildroot] [PATCH v3 02/10] package/minetest: add libcurl optional dependency Romain Naour
2017-07-13 12:40 ` [Buildroot] [PATCH v3 03/10] package/minetest: add NLS " Romain Naour
2017-07-13 12:40 ` [Buildroot] [PATCH v3 04/10] package/minetest: add freetype " Romain Naour
2017-07-13 12:40 ` [Buildroot] [PATCH v3 05/10] package/minetest: enable sound support Romain Naour
2017-07-13 12:40 ` Romain Naour [this message]
2017-07-13 12:40 ` [Buildroot] [PATCH v3 07/10] package/minetest: add hiredis optional dependency Romain Naour
2017-07-13 12:40 ` [Buildroot] [PATCH v3 08/10] package/minetest: add leveldb " Romain Naour
2017-07-13 12:40 ` [Buildroot] [PATCH v3 09/10] package/minetest: add libspatialindex " Romain Naour
2017-07-13 12:40 ` [Buildroot] [PATCH v3 10/10] package/minetest_game: new package Romain Naour
2017-10-21 15:28 ` [Buildroot] [PATCH v3 01/10] package/minetest: " Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170713124052.13708-6-romain.naour@gmail.com \
    --to=romain.naour@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox