docs/52672: Porter's Handbook: couple of corrections

Alexey Neyman avn at vagabond.auriga.ru
Sun May 25 16:00:30 UTC 2003


>Number:         52672
>Category:       docs
>Synopsis:       Porter's Handbook: couple of corrections
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 25 09:00:27 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Neyman
>Release:        FreeBSD 5.1-BETA i386
>Organization:
>Environment:
System: FreeBSD vagabond.auriga.ru 5.1-BETA FreeBSD 5.1-BETA #0: Sat May 24 20:38:58 MSD 2003 avn at vagabond.auriga.ru:/usr/obj/usr/src/sys/VAGABOND i386

>Description:

1. The "Detailed information" subsection of the "Distribution files"
chapter gives an advanced, yet incorrect example. I inserted that
snippet in a sample port's Makefile, and the results of "fetch-list"
target are different from those of the handbook.

Moreover, this snippet produces warnings like
"/usr/ports/Mk/bsd.port.mk", line 2019: warning: duplicate script for target "master-sites-DEFAULT" ignored
however, this is out of scope for docs-PR.

2. In the "Do's and Dont's" chapter, while the title says "Respect CC
and CXX", the last paragraph refers to CFLAGS instead of CXX.
	
>How-To-Repeat:
>Fix:

--- book.sgml	Thu May 22 21:23:59 2003
+++ book.sgml	Sun May 25 19:45:22 2003
@@ -2249,7 +2249,7 @@
 			  </listitem>
 
 			  <listitem>
-			    <para>http://site1/directory/</para>
+			    <para>http://site1/directory-trial:1/</para>
 			  </listitem>
 
 			  <listitem>
@@ -2257,7 +2257,7 @@
 			  </listitem>
 
 			  <listitem>
-			    <para>http://site1/directory-trial:1/</para>
+			    <para>http://site1/directory/</para>
 			  </listitem>
 
 			  <listitem>
@@ -2286,7 +2286,7 @@
 			  </listitem>
 
 			  <listitem>
-			    <para>http://site1/directory/</para>
+			    <para>http://site1/directory-trial:1/</para>
 			  </listitem>
 
 			  <listitem>
@@ -2294,7 +2294,7 @@
 			  </listitem>
 
 			  <listitem>
-			    <para>http://site1/directory-trial:1/</para>
+			    <para>http://site1/directory/</para>
 			  </listitem>
 
 			  <listitem>
@@ -2390,7 +2390,7 @@
 			  </listitem>
 
 			  <listitem>
-			    <para>http://site8/directory-one/</para>
+			    <para>http://site8/</para>
 			  </listitem>
 
 			  <listitem>
@@ -6020,7 +6020,7 @@
 	<programlisting>CC = gcc</programlisting>
 	<programlisting>CXX = g++</programlisting>
 
-	<para>Both <makevar>CC</makevar> and <makevar>CFLAGS</makevar>
+	<para>Both <makevar>CC</makevar> and <makevar>CXX</makevar>
 	  variables can be defined on FreeBSD systems in
 	  <filename>/etc/make.conf</filename>.  The first example
 	  defines a value if it was not previously set in
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list