e3aa50b669
patch-configure and patch-src_Makefile.in removed since they have applied upstream. Changes from release notes: * updated SQLStatement::fetchColumns() to return an empty hash when no data is available * fixed a bug where DBI-SELECT-ROW-ERROR exceptions were being raised as MYSQL-SELECT-ROW-ERROR exceptions * fixed formatting bugs in invalid value specification error messages * updated configure to find and compile with MariaDB and Percona includes and libs * placeholders and quotes in SQL comments are ignored * fixed time column retrieval; the date component is now set to 1970-01-01 * fixed binary and varbinary column handling * fixed the "optimal-numbers" option with decimal values with decimal points * fixed returning result sets with duplicate column names
35 lines
882 B
Makefile
35 lines
882 B
Makefile
# $NetBSD: Makefile,v 1.7 2018/06/08 19:25:39 nros Exp $
|
|
|
|
DISTNAME= qore-mysql-module-2.0.2.1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=qorelanguage/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
GITHUB_PROJECT= module-mysql
|
|
GITHUB_RELEASE= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= nros@NetBSD.org
|
|
HOMEPAGE= http://www.qore.org/
|
|
COMMENT= MySQL DB driver for Qore
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_LANGUAGES= c c++11
|
|
USE_TOOLS+= gmake pax
|
|
PTHREAD_OPTS+= native
|
|
|
|
CONFIGURE_ARGS+=--with-libsuffix=""
|
|
|
|
#install docs
|
|
INSTALLATION_DIRS+= share/doc/${PKGBASE}
|
|
post-install:
|
|
cd ${WRKSRC}/docs/mysql && ${PAX} -wr * \
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../lang/qore/buildlink3.mk"
|
|
.include "../../lang/qore/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|