diff options
author | xtraeme <xtraeme> | 2004-11-12 12:39:12 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-11-12 12:39:12 +0000 |
commit | 925c13f68b66daf97f6a050faefb82a354e386b2 (patch) | |
tree | 5c7b4d83c7db916b3110b07c76671a44a7f57fcc /databases | |
parent | a2962a071eea9d09b9ffc21c2406713664016128 (diff) | |
download | pkgsrc-925c13f68b66daf97f6a050faefb82a354e386b2.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')
-rw-r--r-- | databases/mysql-client/Makefile.common | 3 | ||||
-rw-r--r-- | databases/mysql4-client/Makefile.common | 3 |
2 files changed, 4 insertions, 2 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. 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. |