Add php-pdo_odb to the packages collection.
This extension provides an ODBC v3 driver for PDO. It supports unixODBC and IBM DB2 libraries, and will support more in future releases. In pkgsrc we only support unixODBC currently.
This commit is contained in:
parent
dcb585e8eb
commit
8fa910c37b
2 changed files with 22 additions and 0 deletions
4
databases/php-pdo_odbc/DESCR
Normal file
4
databases/php-pdo_odbc/DESCR
Normal file
|
@ -0,0 +1,4 @@
|
|||
PHP is a programming language designed to be embedded into web pages.
|
||||
|
||||
This extension provides an ODBC v3 driver for PDO. It supports unixODBC
|
||||
and IBM DB2 libraries, and will support more in future releases.
|
18
databases/php-pdo_odbc/Makefile
Normal file
18
databases/php-pdo_odbc/Makefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
# $NetBSD: Makefile,v 1.10 2013/03/01 10:34:17 jperkin Exp $
|
||||
|
||||
MODNAME= pdo_odbc
|
||||
CATEGORIES+= databases
|
||||
COMMENT= PHP ODBC v3 Interface driver for PDO
|
||||
|
||||
USE_PHP_EXT_PATCHES= yes
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.include "../../lang/php/ext.mk"
|
||||
|
||||
CONFIGURE_ARGS+= --with-${MODNAME}
|
||||
CONFIGURE_ARGS+= --with-${PKGMODNAME}=unixODBC,${BUILDLINK_PREFIX.unixodbc}
|
||||
|
||||
.include "../../databases/php-pdo/buildlink3.mk"
|
||||
.include "../../databases/unixodbc/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
Loading…
Reference in a new issue