From owner-svn-doc-all@freebsd.org Wed Aug 3 12:54:55 2016 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2BC22BAAE80; Wed, 3 Aug 2016 12:54:55 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D60E51CD3; Wed, 3 Aug 2016 12:54:54 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u73Css32083691; Wed, 3 Aug 2016 12:54:54 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u73CssdL083690; Wed, 3 Aug 2016 12:54:54 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201608031254.u73CssdL083690@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Wed, 3 Aug 2016 12:54:54 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r49209 - head/en_US.ISO8859-1/books/porters-handbook/uses X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 12:54:55 -0000 Author: mat Date: Wed Aug 3 12:54:53 2016 New Revision: 49209 URL: https://svnweb.freebsd.org/changeset/doc/49209 Log: Add a bit more documentation about USES=php and extensions. Reviewed by: bcr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7284 Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Tue Aug 2 21:53:12 2016 (r49208) +++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Wed Aug 3 12:54:53 2016 (r49209) @@ -1846,6 +1846,57 @@ USE_MATE= menus:build intlhack + + When building a PHP or + Zend extension with + :ext or :zend, these + variables can be set: + + + + PHP_MODNAME + + The name of the PHP or + Zend extension. Default value + is ${PORTNAME}. + + + + + PHP_HEADER_DIRS + + A list of subdirectories from which to install header + files. The framework will always install the header files + that are present in the same directory as the + extension. + + + + + PHP_MOD_PRIO + + The priority at which to load the extension. It is a + number between 00 and + 99. + + For extensions that do not depend on any extension, + the priority is automatically set to + 20, for extensions that depend on + another extension, the priority is automatically set to + 30. Some extensions may need to be + loaded before every other extension, for example www/php56-opcache. Some may need + to be loaded after an extension with a priority of + 30. In that case, add + PHP_MOD_PRIO=XX + in the port's Makefile. For example: + + USES= php:ext +USE_PHP= wddx +PHP_MOD_PRIO= 40 + + +