09b9df6066
* Fix a bug about sizeof() at idx_fake_oid of info. * Return 0 for the column size when the size of numeric items are unknown. Also improve the calculation of scale of numeric items when it is not explicitly specified. * Change to use 'if' instead of an inappropriate 'else if' at cursor of convert. * Remember to set permanent flag to holdable cursors on commit with no precedent rollback (to savepoint) operations. This fixes a crash bug in case of cursor operations across transaction. * Fix a bug about the handling of the SQL_RETRIEVE_DATA option. * Fix cursor bug introduced by the previous change. * Move the setting of folder name of libpq or gssapi related dlls from .wxs file to .bat file. * Fix a bug which returns incorrect values for SQL_DATETIME_SUB.
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2010/12/25 08:37:31 adam Exp $
|
|
|
|
DISTNAME= psqlodbc-09.00.0200
|
|
PKGNAME= odbc-postgresql-9.0.200
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${PGSQL_MIRRORS:=odbc/versions/src/}
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://pgfoundry.org/projects/psqlodbc/
|
|
COMMENT= ODBC interface to PostgreSQL
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFLICTS+= postgresql-[0-7]*
|
|
CONFLICTS+= iodbc-postgresql-[0-9]*
|
|
CONFLICTS+= unixodbc-postgresql-[0-9]*
|
|
|
|
.include "../../databases/postgresql90/Makefile.mirrors"
|
|
|
|
USE_LANGUAGES= c
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-iodbc
|
|
CONFIGURE_ARGS+= --without-unixodbc
|
|
|
|
INSTALLATION_DIRS= share/doc/postgresql/odbc
|
|
INSTALLATION_DIRS+= share/postgresql
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/odbc.sql \
|
|
${DESTDIR}${PREFIX}/share/postgresql/odbc.sql
|
|
${INSTALL_DATA} ${WRKSRC}/odbc-drop.sql \
|
|
${DESTDIR}${PREFIX}/share/postgresql/odbc-drop.sql
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${DESTDIR}${PREFIX}/share/doc/postgresql/odbc/
|
|
|
|
.include "../../databases/iodbc/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|