diff options
-rw-r--r-- | databases/php-pdo_odbc/DESCR | 4 | ||||
-rw-r--r-- | databases/php-pdo_odbc/Makefile | 18 |
2 files changed, 22 insertions, 0 deletions
diff --git a/databases/php-pdo_odbc/DESCR b/databases/php-pdo_odbc/DESCR new file mode 100644 index 00000000000..43f3fd6a520 --- /dev/null +++ b/databases/php-pdo_odbc/DESCR @@ -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. diff --git a/databases/php-pdo_odbc/Makefile b/databases/php-pdo_odbc/Makefile new file mode 100644 index 00000000000..14a83e120ed --- /dev/null +++ b/databases/php-pdo_odbc/Makefile @@ -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" |