9004e2c57f
* It was not possible to delete multiple connection attributes using the OPT_CONNECT_ATTR_DELETE option. This can now be done using the std::list< sql::SQLString > type. * MySQL_Prepared_Statement::getMoreResults() functionality has been implemented, so multiple result sets now can be fetched using a prepared statement. * The following connection options have been implemented: MYSQL_DEFAULT_AUTH, MYSQL_OPT_CONNECT_ATTR_DELETE, MYSQL_OPT_CONNECT_ATTR_RESET, MYSQL_OPT_LOCAL_INFILE, MYSQL_PLUGIN_DIR, MYSQL_READ_DEFAULT_FILE, MYSQL_READ_DEFAULT_GROUP, MYSQL_SET_CHARSET_DIR, and max_statement_timeout for session-based query timeout. * These functions were added: Connection::isValid() checks whether the connection is alive, and Connection::reconnect() reconnects if the connection has gone down. * The Boost dependency was removed from the Connector/C++ API headers. These headers were using the boost::variant type, making it impossible to use Connector/C++ binaries without having Boost installed.
24 lines
717 B
Makefile
24 lines
717 B
Makefile
# $NetBSD: Makefile,v 1.4 2014/11/29 16:41:25 adam Exp $
|
|
|
|
DISTNAME= mysql-connector-c++-1.1.5
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_MYSQL:=Connector-C++/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://dev.mysql.com/downloads/connector/cpp/
|
|
COMMENT= Standardized mysql database driver for C++ development
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
|
|
INSTALLATION_DIRS= share/doc/mysql-connector-c++
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX} && mv ANNOUNCEMENT COPYING INSTALL README \
|
|
Licenses_for_Third-Party_Components.txt \
|
|
share/doc/mysql-connector-c++/
|
|
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|