svn commit: r48373 - in head/en_US.ISO8859-1/books/porters-handbook: slow-porting uses

Mathieu Arnold <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: mat
Date: Fri Mar 11 13:58:46 2016
New Revision: 48373
URL: https://svnweb.freebsd.org/changeset/doc/48373

Log:
  Document the new DOS2UNIX_WRKSRC variable.
  
  Sponsored by:	Absolight

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/slow-porting/chapter.xml
  head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/slow-porting/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/slow-porting/chapter.xml	Fri Mar 11 13:58:41 2016	(r48372)
+++ head/en_US.ISO8859-1/books/porters-handbook/slow-porting/chapter.xml	Fri Mar 11 13:58:46 2016	(r48373)
@@ -441,6 +441,14 @@ DOS2UNIX_REGEX=	.*\.([ch]|cpp)</programl
 
       <programlisting>USES=	dos2unix
 DOS2UNIX_GLOB=	*.c *.cpp *.h</programlisting>
+
+      <para>If there are more than one distribution file and some
+	other than the default need to have files converted, the base
+	directory for the conversions can be changed so that they are
+	also converted.</para>
+
+      <programlisting>USES=	dos2unix
+DOS2UNIX_WRKSRC=	${WRKDIR}</programlisting>
     </sect2>
   </sect1>
 

Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml	Fri Mar 11 13:58:41 2016	(r48372)
+++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml	Fri Mar 11 13:58:46 2016	(r48373)
@@ -355,7 +355,7 @@
     <para>Possible arguments: (none)</para>
 
     <para>The port has files with line endings in
-      <acronym>DOS</acronym> format which need to be converted.  Three
+      <acronym>DOS</acronym> format which need to be converted.  Four
       variables can be set to control which files will be converted.
       The default is to convert <emphasis>all</emphasis> files,
       including binaries.  See <xref
@@ -377,6 +377,12 @@
 	<para><varname>DOS2UNIX_GLOB</varname>: match file names based
 	  on a glob pattern.</para>
       </listitem>
+
+      <listitem>
+	<para><varname>DOS2UNIX_WRKSRC</varname>: the directory from
+	  which to start doing the conversions, defaults to
+	  <literal>${WRKSRC}</literal>.</para>
+      </listitem>
     </itemizedlist>
   </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.