pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases Enable support for old C API functions in li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b292f159e32e
branches:  trunk
changeset: 483458:b292f159e32e
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri Nov 12 12:39:12 2004 +0000

description:
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:

 databases/mysql-client/Makefile.common  |  3 ++-
 databases/mysql4-client/Makefile.common |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 8d4f7cc121d1 -r b292f159e32e databases/mysql-client/Makefile.common
--- a/databases/mysql-client/Makefile.common    Fri Nov 12 12:31:28 2004 +0000
+++ b/databases/mysql-client/Makefile.common    Fri Nov 12 12:39:12 2004 +0000
@@ -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_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.
diff -r 8d4f7cc121d1 -r b292f159e32e databases/mysql4-client/Makefile.common
--- a/databases/mysql4-client/Makefile.common   Fri Nov 12 12:31:28 2004 +0000
+++ b/databases/mysql4-client/Makefile.common   Fri Nov 12 12:39:12 2004 +0000
@@ -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_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.



Home | Main Index | Thread Index | Old Index