svn commit: r44090 - head/en_US.ISO8859-1/books/porters-handbook/makefiles

Mathieu Arnold mat at FreeBSD.org
Thu Feb 27 18:33:41 UTC 2014


Author: mat (ports committer)
Date: Thu Feb 27 18:33:40 2014
New Revision: 44090
URL: http://svnweb.freebsd.org/changeset/doc/44090

Log:
  Move the Dependencies section before the Generic Variables one.
  
  Sponsored by:	Absolight

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

Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml	Thu Feb 27 18:32:12 2014	(r44089)
+++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml	Thu Feb 27 18:33:40 2014	(r44090)
@@ -3793,6 +3793,87 @@ CMAKE_ARGS+=	-DTEST:BOOL=false
       </sect3>
 
       <sect3>
+	<title>Dependencies</title>
+
+      <para>For any of the following dependency type:</para>
+
+      <itemizedlist>
+	<listitem>
+	  <para><varname>PKG_DEPENDS</varname></para>
+	</listitem>
+
+	<listitem>
+	  <para><varname>EXTRACT_DEPENDS</varname></para>
+	</listitem>
+
+	<listitem>
+	  <para><varname>PATCH_DEPENDS</varname></para>
+	</listitem>
+
+	<listitem>
+	  <para><varname>FETCH_DEPENDS</varname></para>
+	</listitem>
+
+	<listitem>
+	  <para><varname>BUILD_DEPENDS</varname></para>
+	</listitem>
+
+	<listitem>
+	  <para><varname>LIB_DEPENDS</varname></para>
+	</listitem>
+
+	<listitem>
+	  <para><varname>RUN_DEPENDS</varname></para>
+	</listitem>
+      </itemizedlist>
+
+      <sect4>
+	<title>X_ABOVEVARIABLE</title>
+
+      <para>If <varname>X_ABOVEVARIABLE</varname> is defined then
+	its value will be appended to
+	<varname>ABOVEVARIABLE</varname> depending on the status
+	of the option <varname>X</varname>, for example:</para>
+
+      <programlisting>OPTIONS_DEFINE=	OPT1
+OPT1_LIB_DEPENDS=	liba.so:${PORTSDIR}/devel/a</programlisting>
+
+      <para>is equivalent to:</para>
+
+      <programlisting>OPTIONS_DEFINE=	OPT1
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MOPT1}
+LIB_DEPENDS+=	liba.so:${PORTSDIR}/devel/a
+.endif</programlisting>
+
+	</sect4>
+
+	<sect4>
+	  <title>X_ABOVEVARIABLE_OFF</title>
+
+      <para>If <varname>X_ABOVEVARIABLE_OFF</varname> is set then a
+	dependency of type <literal>ABOVEVARIABLE</literal> will be
+	added when option <literal>X</literal> is not selected.  For
+	example:</para>
+
+      <programlisting>OPTIONS_DEFINE=	OPT1
+OPT1_LIB_DEPENDS_OFF= liba.so:${PORTSDIR}/devel/a</programlisting>
+
+      <para>is equivalent to:</para>
+
+      <programlisting>OPTIONS_DEFINE= OPT1
+
+.include <bsd.port.options.mk>
+
+. if ! ${PORT_OPTIONS:MOPT1}
+LIB_DEPENDS+=	liba.so:${PORTSDIR}/devel/a
+.endif</programlisting>
+	</sect4>
+      </sect3>
+
+      <sect3>
 	<title>Generic Variables Replacement</title>
 
       <para>For any of the following variables:</para>
@@ -3918,87 +3999,6 @@ USES+=	gmake
 
 	</sect4>
       </sect3>
-
-      <sect3>
-	<title>Dependencies</title>
-
-      <para>For any of the following dependency type:</para>
-
-      <itemizedlist>
-	<listitem>
-	  <para><varname>PKG_DEPENDS</varname></para>
-	</listitem>
-
-	<listitem>
-	  <para><varname>EXTRACT_DEPENDS</varname></para>
-	</listitem>
-
-	<listitem>
-	  <para><varname>PATCH_DEPENDS</varname></para>
-	</listitem>
-
-	<listitem>
-	  <para><varname>FETCH_DEPENDS</varname></para>
-	</listitem>
-
-	<listitem>
-	  <para><varname>BUILD_DEPENDS</varname></para>
-	</listitem>
-
-	<listitem>
-	  <para><varname>LIB_DEPENDS</varname></para>
-	</listitem>
-
-	<listitem>
-	  <para><varname>RUN_DEPENDS</varname></para>
-	</listitem>
-      </itemizedlist>
-
-      <sect4>
-	<title>X_ABOVEVARIABLE</title>
-
-      <para>If <varname>X_ABOVEVARIABLE</varname> is defined then
-	its value will be appended to
-	<varname>ABOVEVARIABLE</varname> depending on the status
-	of the option <varname>X</varname>, for example:</para>
-
-      <programlisting>OPTIONS_DEFINE=	OPT1
-OPT1_LIB_DEPENDS=	liba.so:${PORTSDIR}/devel/a</programlisting>
-
-      <para>is equivalent to:</para>
-
-      <programlisting>OPTIONS_DEFINE=	OPT1
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MOPT1}
-LIB_DEPENDS+=	liba.so:${PORTSDIR}/devel/a
-.endif</programlisting>
-
-	</sect4>
-
-	<sect4>
-	  <title>X_ABOVEVARIABLE_OFF</title>
-
-      <para>If <varname>X_ABOVEVARIABLE_OFF</varname> is set then a
-	dependency of type <literal>ABOVEVARIABLE</literal> will be
-	added when option <literal>X</literal> is not selected.  For
-	example:</para>
-
-      <programlisting>OPTIONS_DEFINE=	OPT1
-OPT1_LIB_DEPENDS_OFF= liba.so:${PORTSDIR}/devel/a</programlisting>
-
-      <para>is equivalent to:</para>
-
-      <programlisting>OPTIONS_DEFINE= OPT1
-
-.include <bsd.port.options.mk>
-
-. if ! ${PORT_OPTIONS:MOPT1}
-LIB_DEPENDS+=	liba.so:${PORTSDIR}/devel/a
-.endif</programlisting>
-	</sect4>
-      </sect3>
     </sect2>
   </sect1>
 


More information about the svn-doc-all mailing list