summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-03-06 10:03:13 +0000
committerjperkin <jperkin>2013-03-06 10:03:13 +0000
commit4f41525b0b65cd90dd974b10b5079f50d66a0b05 (patch)
tree63890af394167580e97b5599204981dd3ec53340 /databases
parentbaf06534c5cdb462e38b319838e9d699d001e60c (diff)
downloadpkgsrc-4f41525b0b65cd90dd974b10b5079f50d66a0b05.tar.gz
Ensure the new readline interface is used, fixes builds when using the
readline supplied by pkgsrc where the old interface is explicitly disabled.
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql56-client/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/mysql56-client/Makefile.common b/databases/mysql56-client/Makefile.common
index 9eb270ddf2f..146db4f896b 100644
--- a/databases/mysql56-client/Makefile.common
+++ b/databases/mysql56-client/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2013/02/26 11:32:57 obache Exp $
+# $NetBSD: Makefile.common,v 1.3 2013/03/06 10:03:13 jperkin Exp $
#
# used by databases/mysql56-client/Makefile
# used by databases/mysql56-server/Makefile
@@ -63,6 +63,8 @@ CMAKE_ARGS+= -DMYSQL_DATADIR=${MYSQL_DATADIR}
# always use our own readline, not MySQL bundled one
CMAKE_ARGS+= -DWITH_LIBEDIT=OFF
+CMAKE_ARGS+= -DUSE_NEW_READLINE_INTERFACE=ON
+CMAKE_ARGS+= -DREADLINE_LIBRARY=readline
CMAKE_ARGS+= -DWITH_ZLIB="system"
CMAKE_ARGS+= -DDEFAULT_CHARSET=${MYSQL_CHARSET:Q}
CMAKE_ARGS+= -DDEFAULT_COLLATION=${MYSQL_COLLATION:Q}