Date: Mon, 28 Oct 2013 21:31:17 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r43060 - head/en_US.ISO8859-1/books/porters-handbook Message-ID: <201310282131.r9SLVHCf045996@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Mon Oct 28 21:31:17 2013 New Revision: 43060 URL: http://svnweb.freebsd.org/changeset/doc/43060 Log: Simplify the discussion of CR/LF processing. Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/book.xml Mon Oct 28 21:27:47 2013 (r43059) +++ head/en_US.ISO8859-1/books/porters-handbook/book.xml Mon Oct 28 21:31:17 2013 (r43060) @@ -46,7 +46,6 @@ &tm-attrib.freebsd; &tm-attrib.unix; &tm-attrib.sun; - &tm-attrib.microsoft; &tm-attrib.general; </legalnotice> @@ -811,12 +810,12 @@ PLIST_DIRS= lib/X11/oneko</programlistin <programlisting>post-patch: @${REINPLACE_CMD} -e 's|for Linux|for FreeBSD|g' ${WRKSRC}/README</programlisting> - <para>Quite often, there is a situation when the software being - ported, especially if it is primarily developed on &windows;, - uses the CR/LF convention for most of its source files. This + <para>Quite often, software being + ported + uses the CR/LF convention for its source files. This may cause problems with further patching, compiler warnings, - scripts execution (<command>/bin/sh^M</command> not found), - etc. To quickly convert all files from CR/LF to just LF, add + scripts execution (e.g., <command>/bin/sh^M</command> not found.) + To quickly convert all files from CR/LF to just LF, add <literal>USE_DOS2UNIX=yes</literal> to the port <filename>Makefile</filename>. A list of files to convert can be specified:</para>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310282131.r9SLVHCf045996>
