summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-03-06 10:03:13 +0000
committerjperkin <jperkin@pkgsrc.org>2013-03-06 10:03:13 +0000
commitf253a3f13362c578487f9916e94761bedf9b1ac9 (patch)
tree63890af394167580e97b5599204981dd3ec53340 /databases
parent8fc4d5ca57837e7eb07e4f8116596dacea6b1a28 (diff)
downloadpkgsrc-f253a3f13362c578487f9916e94761bedf9b1ac9.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}