Project:PHP/Php-ext-source-r3 migration guide

Overview
The latest revision php-ext-source-r3.eclass of the php-ext-source eclass offer some improvements but requires a few small changes from the previous revision. These changes also affect php-ext-pecl-r3.eclass which inherits php-ext-source-r3.eclass.

EAPI support
The biggest change in the new revision is that only  is supported. To use php-ext-source-r3.eclass, your ebuild will need to be migrated to.

Update DOCS variable
In the previous revision, invalid  were silently ignored. In the new revision, it is an error to include non-existent files in. Ensure that  is accurate for your ebuild before upgrading. Note: the php-ext-pecl-r2.eclass used to install package.xml automatically as part of its  handling. The new revision of that eclass does not; it used the standard  list of docs.

Rename my_conf variable
The  variable was being used to pass extra configuration to the build system. That lowercase and un-namespaced variable has been changed to. No other changes were made to that aspect of the build system, so a find/replace from  to   should suffice.

Rename PHPSAPILIST variable
The  variable limits the PHP SAPIs for which an extension is built/enabled. The variable name was not namespaced, however, so it has been renamed to. A simple find/replace from  to   should suffice.