Page MenuHomeFreeBSD

D7284.id18810.diff
No OneTemporary

D7284.id18810.diff

Index: en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
+++ en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
@@ -1846,6 +1846,57 @@
</listitem>
</varlistentry>
</variablelist>
+
+ <para>When building a <application>PHP</application> or
+ <application>Zend</application> extension with
+ <literal>:ext</literal> or <literal>:zend</literal>, these
+ variables can be set:</para>
+
+ <variablelist>
+ <varlistentry>
+ <term><varname>PHP_MODNAME</varname></term>
+ <listitem>
+ <para>The name of the <application>PHP</application> or
+ <application>Zend</application> extension. Default value
+ is <literal>${PORTNAME}</literal>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>PHP_HEADER_DIRS</varname></term>
+ <listitem>
+ <para>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.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>PHP_MOD_PRIO</varname></term>
+ <listitem>
+ <para>The priority at which to load the extension. It is a
+ number between <literal>00</literal> and
+ <literal>99</literal>.</para>
+
+ <para>For extensions that do not depend on any extension,
+ the priority is automatically set to
+ <literal>20</literal>, for extensions that depend on
+ another extension, the priority is automatically set to
+ <literal>30</literal>. Some extensions may need to be
+ loaded before every other extension, for example <package
+ role="port">www/php56-opcache</package>. Some may need
+ to be loaded after an extension with a priority of
+ <literal>30</literal>. In that case, add
+ <literal>PHP_MOD_PRIO=<replaceable>XX</replaceable></literal>
+ in the port's Makefile. For example:</para>
+
+ <programlisting>USES= php:ext
+USE_PHP= wddx
+PHP_MOD_PRIO= 40</programlisting>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</sect1>
<sect1 xml:id="uses-pkgconfig">

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 31, 10:09 PM (10 h, 41 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27422441
Default Alt Text
D7284.id18810.diff (2 KB)

Event Timeline