summaryrefslogtreecommitdiff
path: root/databases/mysql56-client
diff options
context:
space:
mode:
authortron <tron>2015-06-03 07:13:30 +0000
committertron <tron>2015-06-03 07:13:30 +0000
commitd51866e3e7b717693327bb4388468f3c68a226a2 (patch)
tree10571ff98ef7740cfdacbab2c6c3a74d0f7a1bc8 /databases/mysql56-client
parentbd967067624a7f02206eacfb9cc25c3ed5fb305f (diff)
downloadpkgsrc-d51866e3e7b717693327bb4388468f3c68a226a2.tar.gz
Use "editline" package from pkgsrc to fix the build under NetBSD.
Diffstat (limited to 'databases/mysql56-client')
-rw-r--r--databases/mysql56-client/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/mysql56-client/Makefile.common b/databases/mysql56-client/Makefile.common
index bba4f93f6e6..eec45e27d46 100644
--- a/databases/mysql56-client/Makefile.common
+++ b/databases/mysql56-client/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.23 2015/06/01 08:15:05 adam Exp $
+# $NetBSD: Makefile.common,v 1.24 2015/06/03 07:13:30 tron Exp $
#
# used by databases/mysql56-client/Makefile
# used by databases/mysql56-server/Makefile
@@ -124,5 +124,11 @@ CMAKE_ARGS+= -DWITH_EDITLINE=system
CMAKE_ARGS+= -DEDITLINE_LIBRARY=${BUILDLINK_PREFIX.editline}/lib/libedit.${SOEXT}
CMAKE_ARGS+= -DEDITLINE_INCLUDE_DIR=${BUILDLINK_PREFIX.editline}/include/readline
+# Don't use the base system "libedit" under NetBSD because MySQL expects
+# an incompatible prototype for "rl_completion_entry_function".
+.if ${OPSYS} == "NetBSD"
+USE_BUILTIN.editline= no
+.endif
+
.include "../../devel/editline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"