summaryrefslogtreecommitdiffstats
path: root/package/database
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-26 05:51:31 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-26 05:51:31 +0000
commit7e3d659e8c44d9dc278276b710b50d90337b0fd0 (patch)
treeceb02f4fa7a5b3628acf49d157fb6f5013ef1281 /package/database
parent8e2390fdafe90a11cd2ca94ce1a0e8d71a4140cf (diff)
downloadbuildroot-novena-7e3d659e8c44d9dc278276b710b50d90337b0fd0.tar.gz
buildroot-novena-7e3d659e8c44d9dc278276b710b50d90337b0fd0.zip
mysql_client: fix deps and clean up configure args
mysql client needs ncurses, readline and C++
Diffstat (limited to 'package/database')
-rw-r--r--package/database/mysql_client/Config.in6
-rw-r--r--package/database/mysql_client/mysql_client.mk7
2 files changed, 8 insertions, 5 deletions
diff --git a/package/database/mysql_client/Config.in b/package/database/mysql_client/Config.in
index e13605801..01cf71725 100644
--- a/package/database/mysql_client/Config.in
+++ b/package/database/mysql_client/Config.in
@@ -1,4 +1,10 @@
config BR2_PACKAGE_MYSQL_CLIENT
bool "MySQL 5.1 client"
+ depends on BR2_INSTALL_LIBSTDCPP
+ select BR2_PACKAGE_NCURSES
+ select BR2_READLINE
help
MySQL client
+
+comment "Mysql client requires a toolchain with C++ support enabled"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/database/mysql_client/mysql_client.mk b/package/database/mysql_client/mysql_client.mk
index 2b26dfb13..18e3b1525 100644
--- a/package/database/mysql_client/mysql_client.mk
+++ b/package/database/mysql_client/mysql_client.mk
@@ -8,21 +8,18 @@ MYSQL_CLIENT_SOURCE = mysql-$(MYSQL_CLIENT_VERSION).tar.gz
MYSQL_CLIENT_SITE = http://mirrors.24-7-solutions.net/pub/mysql/Downloads/MySQL-5.1
MYSQL_CLIENT_INSTALL_TARGET = YES
MYSQL_CLIENT_INSTALL_STAGING = YES
-MYSQL_CLIENT_DEPENDENCIES = uclibc readline
+MYSQL_CLIENT_DEPENDENCIES = uclibc readline ncurses
MYSQL_CLIENT_CONF_ENV = ac_cv_sys_restartable_syscalls=yes
MYSQL_CLIENT_CONF_OPT = \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
--program-prefix="" \
- --prefix=/usr \
--without-ndb-binlog \
--without-server \
--without-docs \
--without-man \
--without-readline \
--without-libedit \
+ --with-readline=$(STAGING_DIR)/usr \
--with-low-memory \
--enable-thread-safe-client \
$(ENABLE_DEBUG)