svn commit: r51604 - head/en_US.ISO8859-1/books/porters-handbook/flavors

Mathieu Arnold <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: mat
Date: Mon Apr 30 15:13:18 2018
New Revision: 51604
URL: https://svnweb.freebsd.org/changeset/doc/51604

Log:
  Add a note about PHP_FLAVOR.
  
  Sponsored by:	Absolight

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/flavors/chapter.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/flavors/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/flavors/chapter.xml	Mon Apr 30 15:13:14 2018	(r51603)
+++ head/en_US.ISO8859-1/books/porters-handbook/flavors/chapter.xml	Mon Apr 30 15:13:18 2018	(r51604)
@@ -329,6 +329,14 @@ IGNORE_WITH_PHP=	72</programlisting>
 
 USES=	php:flavors</programlisting>
       </example>
+
+      <tip>
+	<para>When adding a dependency on a
+	  <application>PHP</application> flavored port, use
+	  <literal>@${PHP_FLAVOR}</literal>.
+	  <emphasis>Never</emphasis> use <varname>FLAVOR</varname>
+	  directly.</para>
+      </tip>
     </sect2>
   </sect1>
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.