Add support for php56.
This commit is contained in:
parent
d91cfc4560
commit
0515f331cd
2 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2012/10/02 21:25:39 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2014/11/24 15:40:32 taca Exp $
|
||||
|
||||
MODNAME= pdo
|
||||
CATEGORIES+= databases
|
||||
|
@ -15,8 +15,14 @@ CONFIGURE_ARGS+= --with-${MODNAME}
|
|||
INSTALLATION_DIRS+= include/php/ext/pdo
|
||||
|
||||
PDO_INCLUDES= php_pdo_driver.h php_pdo.h
|
||||
PLIST_VARS+= php56
|
||||
PLIST_SRC+= ${.CURDIR}/../../databases/php-pdo/PLIST.pdo
|
||||
|
||||
.if ${PKG_PHP_VERSION} == "56"
|
||||
PDO_INCLUDES+= php_pdo_error.h
|
||||
PLIST.php56= yes
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.for inc in ${PDO_INCLUDES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${inc} ${DESTDIR}${PREFIX}/include/php/ext/pdo/${inc}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
@comment $NetBSD: PLIST.pdo,v 1.2 2009/06/14 17:43:20 joerg Exp $
|
||||
@comment $NetBSD: PLIST.pdo,v 1.3 2014/11/24 15:40:32 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
|
||||
|
|
Loading…
Reference in a new issue