summaryrefslogtreecommitdiff
path: root/databases/mysql4-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/mysql4-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/mysql4-client')
-rw-r--r--databases/mysql4-client/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/mysql4-client/Makefile.common b/databases/mysql4-client/Makefile.common
index feabc710996..83e42c038db 100644
--- a/databases/mysql4-client/Makefile.common
+++ b/databases/mysql4-client/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.21 2004/11/08 18:19:41 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.22 2004/11/12 12:39:12 xtraeme Exp $
DISTNAME= mysql-4.1.7
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.