summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/mysql4-client/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/mysql4-client/Makefile.common b/databases/mysql4-client/Makefile.common
index 29d5fa58e52..9e46f4d4699 100644
--- a/databases/mysql4-client/Makefile.common
+++ b/databases/mysql4-client/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.42 2005/07/29 21:02:35 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.43 2005/08/06 18:27:29 adrianp Exp $
DISTNAME= mysql-4.1.13
CATEGORIES= databases
@@ -45,6 +45,12 @@ CONFIGURE_ENV+= ac_cv_lib_gen_p2open="no"
CONFIGURE_ARGS+= --without-readline
CONFIGURE_ARGS+= --without-libedit
+# We need the full readline on NetBSD 1.6.x
+.if !empty(MACHINE_PLATFORM:MNetBSD-1.*)
+USE_BUILTIN.readline= no
+.include "../../devel/readline/buildlink3.mk"
+.endif
+
# This forces mysql.info _not_ to be rebuilt.
CONFIGURE_ARGS+= --without-docs