mysql_client: fix deps and clean up configure args

mysql client needs ncurses, readline and C++
This commit is contained in:
Peter Korsgaard 2009-01-26 05:51:31 +00:00
parent 8e2390fdaf
commit 7e3d659e8c
2 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,10 @@
config BR2_PACKAGE_MYSQL_CLIENT config BR2_PACKAGE_MYSQL_CLIENT
bool "MySQL 5.1 client" bool "MySQL 5.1 client"
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_NCURSES
select BR2_READLINE
help help
MySQL client MySQL client
comment "Mysql client requires a toolchain with C++ support enabled"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@ -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_SITE = http://mirrors.24-7-solutions.net/pub/mysql/Downloads/MySQL-5.1
MYSQL_CLIENT_INSTALL_TARGET = YES MYSQL_CLIENT_INSTALL_TARGET = YES
MYSQL_CLIENT_INSTALL_STAGING = 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_ENV = ac_cv_sys_restartable_syscalls=yes
MYSQL_CLIENT_CONF_OPT = \ MYSQL_CLIENT_CONF_OPT = \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--program-prefix="" \ --program-prefix="" \
--prefix=/usr \
--without-ndb-binlog \ --without-ndb-binlog \
--without-server \ --without-server \
--without-docs \ --without-docs \
--without-man \ --without-man \
--without-readline \ --without-readline \
--without-libedit \ --without-libedit \
--with-readline=$(STAGING_DIR)/usr \
--with-low-memory \ --with-low-memory \
--enable-thread-safe-client \ --enable-thread-safe-client \
$(ENABLE_DEBUG) $(ENABLE_DEBUG)