Add support of zend modules.
proposed/discussed is required for such changes, and no package is using.
This commit is contained in:
obache 2015-02-02 12:26:20 +00:00
parent 04e7c25511
commit eee541e27a
2 changed files with 1 additions and 14 deletions

View file

@ -1,9 +0,0 @@
===========================================================================
$NetBSD: MESSAGE.zend-module,v 1.1 2014/11/02 06:49:28 obache Exp $
To enable this module, add the following to ${PKG_SYSCONFDIR}/php.ini:
zend_extension=${PREFIX}/${PHP_EXTENSION_DIR}/${MODNAME}.so
Then restart your ${PKG_PHP}-enabled HTTP server to load this module.
===========================================================================

View file

@ -1,4 +1,4 @@
# $NetBSD: ext.mk,v 1.33 2015/02/02 12:14:56 obache Exp $
# $NetBSD: ext.mk,v 1.34 2015/02/02 12:26:21 obache Exp $
#
# PHP extension package framework, for both PECL and bundled PHP extensions.
#
@ -67,11 +67,7 @@ LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}"
PLIST_SRC+= ${.CURDIR}/../../lang/php/PLIST.module
.if !empty(PHP_ZEND_EXTENSION:U:M[Yy][Ye][Ss])
MESSAGE_SRC= ${.CURDIR}/../../lang/php/MESSAGE.zend-module
.else
MESSAGE_SRC= ${.CURDIR}/../../lang/php/MESSAGE.module
.endif
MESSAGE_SUBST+= MODNAME=${PKGMODNAME}
MESSAGE_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}