diff options
author | tron <tron@pkgsrc.org> | 2015-06-03 07:13:30 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2015-06-03 07:13:30 +0000 |
commit | 0fa183a5a3763e71a208604b6d516f71bd6947b0 (patch) | |
tree | 10571ff98ef7740cfdacbab2c6c3a74d0f7a1bc8 /databases | |
parent | 878dae7fdc8d1b33039ad01d09cee3af3910a1da (diff) | |
download | pkgsrc-0fa183a5a3763e71a208604b6d516f71bd6947b0.tar.gz |
Use "editline" package from pkgsrc to fix the build under NetBSD.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql56-client/Makefile.common | 8 |
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" |