diff options
author | taca <taca@pkgsrc.org> | 2015-12-06 13:51:30 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2015-12-06 13:51:30 +0000 |
commit | 9c134401e131e92e75de000d93b0867b9e5bf10f (patch) | |
tree | 5c5f94972af3503a7aa9381a98a10fc64443c4b0 /databases | |
parent | 9e20653f3a48d504b6c632fd32856f821dc95792 (diff) | |
download | pkgsrc-9c134401e131e92e75de000d93b0867b9e5bf10f.tar.gz |
* Use pdo_error instead of php56 for PLIST_VARS.
* Set PLIST.pdo_errors for PKG_PHP_VERSION is not "55" instead of
PKG_PHP_VERSION is "56".
Diffstat (limited to 'databases')
-rw-r--r-- | databases/php-pdo/Makefile | 8 | ||||
-rw-r--r-- | databases/php-pdo/PLIST.pdo | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/databases/php-pdo/Makefile b/databases/php-pdo/Makefile index 0884fb14971..9e2d175a023 100644 --- a/databases/php-pdo/Makefile +++ b/databases/php-pdo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2014/11/24 15:40:32 taca Exp $ +# $NetBSD: Makefile,v 1.14 2015/12/06 13:51:30 taca Exp $ MODNAME= pdo CATEGORIES+= databases @@ -15,12 +15,12 @@ CONFIGURE_ARGS+= --with-${MODNAME} INSTALLATION_DIRS+= include/php/ext/pdo PDO_INCLUDES= php_pdo_driver.h php_pdo.h -PLIST_VARS+= php56 +PLIST_VARS+= pdo_error PLIST_SRC+= ${.CURDIR}/../../databases/php-pdo/PLIST.pdo -.if ${PKG_PHP_VERSION} == "56" +.if ${PKG_PHP_VERSION} != "55" PDO_INCLUDES+= php_pdo_error.h -PLIST.php56= yes +PLIST.pdo_error= yes .endif post-install: diff --git a/databases/php-pdo/PLIST.pdo b/databases/php-pdo/PLIST.pdo index 5f26eae891d..6ecb28224af 100644 --- a/databases/php-pdo/PLIST.pdo +++ b/databases/php-pdo/PLIST.pdo @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST.pdo,v 1.3 2014/11/24 15:40:32 taca Exp $ +@comment $NetBSD: PLIST.pdo,v 1.4 2015/12/06 13:51:30 taca Exp $ include/php/ext/pdo/php_pdo.h include/php/ext/pdo/php_pdo_driver.h -${PLIST.php56}include/php/ext/pdo/php_pdo_error.h +${PLIST.pdo_error}include/php/ext/pdo/php_pdo_error.h |