summaryrefslogtreecommitdiff
path: root/databases/myodbc/Makefile
diff options
context:
space:
mode:
authoradam <adam>2011-08-19 07:59:58 +0000
committeradam <adam>2011-08-19 07:59:58 +0000
commit8656bbcc5e3135a08df74bba27d9f2132f037110 (patch)
treedfcfc6b46de35858015c9758ce0a9ca9fd67c7b1 /databases/myodbc/Makefile
parentc242a4f17b8dfe0bc6829e900ee9053875a3a451 (diff)
downloadpkgsrc-8656bbcc5e3135a08df74bba27d9f2132f037110.tar.gz
Changes 5.1.8:
* Documentation in .CHM and .HLP format has been removed from the distribution. * For some procedure and parameter combinations SQLProcedureColumns() did not work correctly. For example, it could not return records for an existing procedure with correct parameters supplied. * Further, it returned incorrect data for column 7, TYPE_NAME. For example, it returned VARCHAR(20) instead of VARCHAR. * The MySQL Connector/ODBC MSI installer did not set the InstallLocation value in the Microsoft Windows registry. * In bulk upload mode, SQLExecute would return SQL_SUCCESS, even when the uploaded data contained errors, such as primary key duplication, and foreign key violation. * SQLDescribeCol and SQLColAttribute could not be called before SQLExecute, if the query was parameterized and not all parameters were bound. * Note, MSDN states that “For performance reasons, an application should not call SQLColAttribute/SQLDescribeCol before executing a statement.” However, it should still be possible to do so if performance reasons are not paramount. * When SQLNumResultCols() was called between SQLPrepare() and SQLExecute() the driver ran SET @@sql_select_limit=1, which limited the resultset to just one row. * After installing MySQL Connector/ODBC, the system DSN created could not be configured or deleted. An error dialog was displayed, showing the error message “Invalid attribute string”. * In this case the problem was due to the fact that the driver could not parse the NULL-separated connection string. * When used after a call to SQLTables(), SQLRowCount() did not return the correct value.
Diffstat (limited to 'databases/myodbc/Makefile')
-rw-r--r--databases/myodbc/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/databases/myodbc/Makefile b/databases/myodbc/Makefile
index 4d9cf04c74b..772e7983723 100644
--- a/databases/myodbc/Makefile
+++ b/databases/myodbc/Makefile
@@ -1,32 +1,34 @@
-# $NetBSD: Makefile,v 1.24 2011/01/13 13:53:24 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.25 2011/08/19 07:59:58 adam Exp $
-DISTNAME= mysql-connector-odbc-5.1.6
+DISTNAME= mysql-connector-odbc-5.1.8
PKGNAME= ${DISTNAME:S/mysql-connector-odbc/myodbc/}
-PKGREVISION= 2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL:=Connector-ODBC/5.1/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mysql.com/
COMMENT= ODBC driver (server side) for MySQL
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
-GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
-USE_TOOLS+= gmake
-
-CONFIGURE_ARGS+= --with-mysql-path=${BUILDLINK_PREFIX.mysql-client}
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc
CONFIGURE_ARGS+= --disable-gui
CONFIGURE_ARGS+= --disable-myodbc3i
-CONFIGURE_ARGS+= --without-samples
CONFIGURE_ARGS+= --disable-test
+CONFIGURE_ARGS+= --with-mysql-path=${BUILDLINK_PREFIX.mysql-client}
+CONFIGURE_ARGS+= --without-samples
INSTALLATION_DIRS= share/doc/mysql-connector-odbc
.include "options.mk"
+
+# 5.5 fails on my_free(), which no longer accepts 2 arguments, but 1
+MYSQL_VERSIONS_ACCEPTED= 51 50
+
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/mysql.buildlink3.mk"