summaryrefslogtreecommitdiff
path: root/databases/mysql4-client/Makefile.common
diff options
context:
space:
mode:
authoradrianp <adrianp>2005-08-06 18:27:29 +0000
committeradrianp <adrianp>2005-08-06 18:27:29 +0000
commit6584b6d2d30567e27667f2d68600f04e5c43044d (patch)
tree25abeb7409297cd93abb0fce42af36de388d6669 /databases/mysql4-client/Makefile.common
parentdc805b61996685ae5b91ab5c00ebdc171629b3ce (diff)
downloadpkgsrc-6584b6d2d30567e27667f2d68600f04e5c43044d.tar.gz
Add an explict requirement for readline on 1.6.x which should resolve
PR#30678 and PR#30364.
Diffstat (limited to 'databases/mysql4-client/Makefile.common')
-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