summaryrefslogtreecommitdiff
path: root/databases/mysql-client
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-11-12 12:39:12 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-11-12 12:39:12 +0000
commita4cfd92f80051844055ae39b28150868df48b7b8 (patch)
tree5c7b4d83c7db916b3110b07c76671a44a7f57fcc /databases/mysql-client
parent67974c9371b22e4c429033c7682ae615301cef7c (diff)
downloadpkgsrc-a4cfd92f80051844055ae39b28150868df48b7b8.tar.gz
Enable support for old C API functions in libmysqlclient:
mysql_drop_db(), mysql_create_db() and mysql_connect(), required to build some applications using the MySQL 3.23.x API.
Diffstat (limited to 'databases/mysql-client')
-rw-r--r--databases/mysql-client/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/mysql-client/Makefile.common b/databases/mysql-client/Makefile.common
index 9d517788d9a..4e3d1dc7566 100644
--- a/databases/mysql-client/Makefile.common
+++ b/databases/mysql-client/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.29 2004/11/09 06:11:48 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.30 2004/11/12 12:39:12 xtraeme Exp $
DISTNAME= mysql-4.0.22
CATEGORIES= databases
@@ -61,6 +61,7 @@ CONFIGURE_ARGS+= --enable-assembler
CONFIGURE_ENV+= F77=${FALSE}
CPPFLAGS+= -Dunix
+CFLAGS+= -DUSE_OLD_FUNCTIONS # 3.23.x compat
# force HAVE_CURSES_H on Solaris since the configure script is broken
# and does not properly detect this, breaking the build later on.