Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2014 16:11:10 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r44552 - head/en_US.ISO8859-1/books/porters-handbook/makefiles
Message-ID:  <201404141611.s3EGBAq9015543@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat (ports committer)
Date: Mon Apr 14 16:11:10 2014
New Revision: 44552
URL: http://svnweb.freebsd.org/changeset/doc/44552

Log:
  Replace all X by OPT in the options part of the Makefile chapter.
  
  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	Mon Apr 14 15:59:33 2014	(r44551)
+++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml	Mon Apr 14 16:11:10 2014	(r44552)
@@ -3842,11 +3842,11 @@ SUB_LIST+=	OPT1="@comment " NO_OPT1=""
       </sect3>
 
       <sect3 xml:id="options-use">
-	<title><varname><replaceable>X</replaceable>_USE</varname></title>
+	<title><varname><replaceable>OPT</replaceable>_USE</varname></title>
 
 	<para>For each
 	  <literal><replaceable>key</replaceable>=<replaceable>value</replaceable></literal>
-	  pair in <varname><replaceable>X</replaceable>_USE</varname>
+	  pair in <varname><replaceable>OPT</replaceable>_USE</varname>
 	  the corresponding
 	  <varname>USE_<replaceable>KEY</replaceable></varname>
 	  variable will be set to <replaceable>value</replaceable>.
@@ -3870,17 +3870,17 @@ USE_XORG=	x11 xextproto xext xrandr
       </sect3>
 
       <sect3 xml:id="options-configure_enable">
-	<title><varname><replaceable>X</replaceable>_CONFIGURE_ENABLE</varname></title>
+	<title><varname><replaceable>OPT</replaceable>_CONFIGURE_ENABLE</varname></title>
 
 	<para>If
-	  <varname><replaceable>X</replaceable>_CONFIGURE_ENABLE</varname>
+	  <varname><replaceable>OPT</replaceable>_CONFIGURE_ENABLE</varname>
 	  is set then
-	  <literal>--enable-${<replaceable>X</replaceable>_CONFIGURE_ENABLE}</literal>
+	  <literal>--enable-${<replaceable>OPT</replaceable>_CONFIGURE_ENABLE}</literal>
 	  or
-	  <literal>--disable-${<replaceable>X</replaceable>_CONFIGURE_ENABLE}</literal>
+	  <literal>--disable-${<replaceable>OPT</replaceable>_CONFIGURE_ENABLE}</literal>
 	  will be added to <varname>CONFIGURE_ARGS</varname> depending
 	  on the value of the
-	  option <literal><replaceable>X</replaceable></literal>, for
+	  option <literal><replaceable>OPT</replaceable></literal>, for
 	  example:</para>
 
 	<programlisting>OPTIONS_DEFINE=	OPT1
@@ -3900,17 +3900,17 @@ CONFIGURE_ARGS+=	--disable-test
       </sect3>
 
       <sect3 xml:id="options-configure_with">
-	<title><varname><replaceable>X</replaceable>_CONFIGURE_WITH</varname></title>
+	<title><varname><replaceable>OPT</replaceable>_CONFIGURE_WITH</varname></title>
 
 	<para>If
-	  <varname><replaceable>X</replaceable>_CONFIGURE_WITH</varname>
+	  <varname><replaceable>OPT</replaceable>_CONFIGURE_WITH</varname>
 	  is set then
-	  <literal>--with-${<replaceable>X</replaceable>_CONFIGURE_WITH}</literal>
+	  <literal>--with-${<replaceable>OPT</replaceable>_CONFIGURE_WITH}</literal>
 	  or
-	  <literal>--without-${<replaceable>X</replaceable>_CONFIGURE_WITH}</literal>
+	  <literal>--without-${<replaceable>OPT</replaceable>_CONFIGURE_WITH}</literal>
 	  will be added to <varname>CONFIGURE_ARGS</varname> depending
 	  on the status of the option
-	  <literal><replaceable>X</replaceable></literal>, for
+	  <literal><replaceable>OPT</replaceable></literal>, for
 	  example:</para>
 
 	<programlisting>OPTIONS_DEFINE=	OPT1
@@ -3930,13 +3930,13 @@ CONFIGURE_ARGS+=	--without-test
       </sect3>
 
       <sect3 xml:id="options-configure_on">
-	<title><varname><replaceable>X</replaceable>_CONFIGURE_ON</varname></title>
+	<title><varname><replaceable>OPT</replaceable>_CONFIGURE_ON</varname></title>
 
 	<para>If
-	  <varname><replaceable>X</replaceable>_CONFIGURE_ON</varname>
+	  <varname><replaceable>OPT</replaceable>_CONFIGURE_ON</varname>
 	  is set then its value will be appended to
 	  <varname>CONFIGURE_ARGS</varname> depending on the status of
-	  the option <literal><replaceable>X</replaceable></literal>,
+	  the option <literal><replaceable>OPT</replaceable></literal>,
 	  for example:</para>
 
 	<programlisting>OPTIONS_DEFINE=	OPT1
@@ -3954,13 +3954,13 @@ CONFIGURE_ARGS+=	--add-test
       </sect3>
 
       <sect3 xml:id="options-configure_off">
-	<title><varname><replaceable>X</replaceable>_CONFIGURE_OFF</varname></title>
+	<title><varname><replaceable>OPT</replaceable>_CONFIGURE_OFF</varname></title>
 
 	<para>If
-	  <varname><replaceable>X</replaceable>_CONFIGURE_OFF</varname>
+	  <varname><replaceable>OPT</replaceable>_CONFIGURE_OFF</varname>
 	  is set then its value will be appended to
 	  <varname>CONFIGURE_ARGS</varname> depending on the status of
-	  the option <literal><replaceable>X</replaceable></literal>,
+	  the option <literal><replaceable>OPT</replaceable></literal>,
 	  for example:</para>
 
 	<programlisting>OPTIONS_DEFINE=	OPT1
@@ -3978,13 +3978,13 @@ CONFIGURE_ARGS+=	--no-test
       </sect3>
 
       <sect3 xml:id="options-cmake_on">
-	<title><varname><replaceable>X</replaceable>_CMAKE_ON</varname></title>
+	<title><varname><replaceable>OPT</replaceable>_CMAKE_ON</varname></title>
 
 	<para>If
-	  <varname><replaceable>X</replaceable>_CMAKE_ON</varname> is
+	  <varname><replaceable>OPT</replaceable>_CMAKE_ON</varname> is
 	  set then its value will be appended to
 	  <varname>CMAKE_ARGS</varname> depending on the status of the
-	  option <literal><replaceable>X</replaceable></literal>, for
+	  option <literal><replaceable>OPT</replaceable></literal>, for
 	  example:</para>
 
 	<programlisting>OPTIONS_DEFINE=	OPT1
@@ -4002,13 +4002,13 @@ CMAKE_ARGS+=	-DTEST:BOOL=true
       </sect3>
 
       <sect3 xml:id="options-cmake_off">
-	<title><varname><replaceable>X</replaceable>_CMAKE_OFF</varname></title>
+	<title><varname><replaceable>OPT</replaceable>_CMAKE_OFF</varname></title>
 
 	<para>If
-	  <varname><replaceable>X</replaceable>_CMAKE_OFF</varname> is
+	  <varname><replaceable>OPT</replaceable>_CMAKE_OFF</varname> is
 	  set then its value will be appended to
 	  <varname>CMAKE_ARGS</varname> depending on the status of the
-	  option <literal><replaceable>X</replaceable></literal>, for
+	  option <literal><replaceable>OPT</replaceable></literal>, for
 	  example:</para>
 
 	<programlisting>OPTIONS_DEFINE=	OPT1
@@ -4061,14 +4061,14 @@ CMAKE_ARGS+=	-DTEST:BOOL=false
 	</itemizedlist>
 
 	<sect4>
-	  <title><varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname></title>
+	  <title><varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname></title>
 
 	  <para>If
-	    <varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname>
+	    <varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname>
 	    is defined then its value will be appended to
 	    <literal><replaceable>ABOVEVARIABLE</replaceable></literal>
 	    depending on the status of the option
-	    <literal><replaceable>X</replaceable></literal>, for
+	    <literal><replaceable>OPT</replaceable></literal>, for
 	    example:</para>
 
 	  <programlisting>OPTIONS_DEFINE=	OPT1
@@ -4087,14 +4087,14 @@ LIB_DEPENDS+=	liba.so:${PORTSDIR}/devel/
 	</sect4>
 
 	<sect4>
-	  <title><varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname></title>
+	  <title><varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname></title>
 
 	  <para>If
-	    <varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname>
+	    <varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname>
 	    is set then a dependency of type
 	    <literal><replaceable>ABOVEVARIABLE</replaceable></literal>
 	    will be added when option
-	    <literal><replaceable>X</replaceable></literal> is not
+	    <literal><replaceable>OPT</replaceable></literal> is not
 	    selected.  For example:</para>
 
 	  <programlisting>OPTIONS_DEFINE=	OPT1
@@ -4234,14 +4234,14 @@ DOCS_ALL_TARGET=	doc</programlisting>
 	</warning>
 
 	<sect4>
-	  <title><varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname></title>
+	  <title><varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname></title>
 
 	  <para>If
-	    <varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname>
+	    <varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname>
 	    is defined then its value will be appended to
 	    <literal><replaceable>ABOVEVARIABLE</replaceable></literal>
 	    depending on the status of the option
-	    <literal><replaceable>X</replaceable></literal>, for
+	    <literal><replaceable>OPT</replaceable></literal>, for
 	    example:</para>
 
 	  <programlisting>OPTIONS_DEFINE=	OPT1
@@ -4261,14 +4261,14 @@ CFLAGS+=	-DTEST
 	</sect4>
 
 	<sect4>
-	  <title><varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname></title>
+	  <title><varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname></title>
 
 	  <para>If
-	    <varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname>
+	    <varname><replaceable>OPT</replaceable>_<replaceable>ABOVEVARIABLE</replaceable>_OFF</varname>
 	    is set then a flag
 	    <literal><replaceable>ABOVEVARIABLE</replaceable></literal>
 	    will be automatically set when option
-	    <literal><replaceable>X</replaceable></literal> is not
+	    <literal><replaceable>OPT</replaceable></literal> is not
 	    selected.  For example:</para>
 
 	  <programlisting>OPTIONS_DEFINE=	OPT1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404141611.s3EGBAq9015543>