Browse files

Add php-pdo_odbc from trunk for older branches.

  • Loading branch information...
1 parent 22d5630 commit 9e5b223ae4003c0ac41f9784c08e9d7651011cb8 @jperkin jperkin committed Mar 1, 2013
Showing with 22 additions and 0 deletions.
  1. +4 −0 php-pdo_odbc/DESCR
  2. +18 −0 php-pdo_odbc/Makefile
View
4 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.
View
18 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"

0 comments on commit 9e5b223

Please sign in to comment.