Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2003 19:56:39 +0400 (MSD)
From:      Alexey Neyman <avn@vagabond.auriga.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/52672: Porter's Handbook: couple of corrections
Message-ID:  <200305251556.h4PFudgD004963@vagabond.auriga.ru>
Resent-Message-ID: <200305251600.h4PG0RKu067632@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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