From d97099dd1cce2dded2323806eb6d1fc1097c0b51 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 13 May 2015 13:49:05 +0200 Subject: add php process control support --- package/php/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'package/php/Makefile') diff --git a/package/php/Makefile b/package/php/Makefile index 4e9c9dabb..061127fab 100644 --- a/package/php/Makefile +++ b/package/php/Makefile @@ -24,7 +24,7 @@ PKGSN_PHP_CLI:= php PKG_FLAVOURS_PHP:= MOD_BZ2 MOD_CURL MOD_FTP MOD_GD MOD_GMP MOD_MYSQL PKG_FLAVOURS_PHP+= MOD_OPENSSL MOD_PGSQL MOD_SESSION MOD_SNMP MOD_SQLITE PKG_FLAVOURS_PHP+= MOD_SOCKETS MOD_XML MOD_SIMPLEXML MOD_ZLIB MOD_JSON -PKG_FLAVOURS_PHP+= MOD_LDAP +PKG_FLAVOURS_PHP+= MOD_LDAP MOD_PCNTL PKGFD_MOD_BZ2:= bzip2 support PKGFB_MOD_BZ2:= bzip2 @@ -49,6 +49,7 @@ PKGFB_MOD_MYSQL:= mysql PKGFD_MOD_OPENSSL:= openssl support PKGFB_MOD_OPENSSL:= openssl PKGFS_MOD_OPENSSL:= libopenssl +PKGFD_MOD_PCNTL:= process control support PKGFD_MOD_PGSQL:= pgsql support PKGFB_MOD_PGSQL:= postgresql PKGFS_MOD_PGSQL:= libpq @@ -166,6 +167,11 @@ PKG_CONFIGURE_OPTS+= --with-openssl=shared,"$(STAGING_TARGET_DIR)/usr" \ else PKG_CONFIGURE_OPTS+= --without-openssl endif +ifneq ($(ADK_PACKAGE_PHP_MOD_PCNTL),) +PKG_CONFIGURE_OPTS+= --enable-pcntl +else +PKG_CONFIGURE_OPTS+= --disable-pcntl +endif ifneq ($(ADK_PACKAGE_PHP_MOD_PGSQL),) PKG_CONFIGURE_OPTS+= --with-pgsql=shared,"$(STAGING_TARGET_DIR)/usr" else -- cgit v1.2.3