From avn@vagabond.auriga.ru  Sun May 25 08:57:09 2003
Return-Path: <avn@vagabond.auriga.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3204B37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 May 2003 08:57:09 -0700 (PDT)
Received: from vagabond.auriga.ru (vagabond.auriga.ru [80.240.102.246])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1328C43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 May 2003 08:57:08 -0700 (PDT)
	(envelope-from avn@vagabond.auriga.ru)
Received: from vagabond.auriga.ru (localhost [127.0.0.1])
	by vagabond.auriga.ru (8.12.9/8.12.9) with ESMTP id h4PFunnv004964
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 May 2003 19:56:54 +0400 (MSD)
	(envelope-from avn@vagabond.auriga.ru)
Received: (from avn@localhost)
	by vagabond.auriga.ru (8.12.9/8.12.9/Submit) id h4PFudgD004963;
	Sun, 25 May 2003 19:56:39 +0400 (MSD)
Message-Id: <200305251556.h4PFudgD004963@vagabond.auriga.ru>
Date: Sun, 25 May 2003 19:56:39 +0400 (MSD)
From: Alexey Neyman <alex.neyman@auriga.ru>
Reply-To: Alexey Neyman <alex.neyman@auriga.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Porter's Handbook: couple of corrections
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52672
>Category:       docs
>Synopsis:       Porter's Handbook: couple of corrections
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 25 09:00:27 PDT 2003
>Closed-Date:    Fri Jul 15 16:56:20 GMT 2005
>Last-Modified:  Fri Jul 15 16:56:20 GMT 2005
>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:

From: Alexey Neyman <alex.neyman@auriga.ru>
To: freebsd-gnats-submit@FreeBSD.org, avn@vagabond.auriga.ru
Cc:  
Subject: Re: docs/52672: Porter's Handbook: couple of corrections
Date: Sun, 25 May 2003 20:41:56 +0400

 Please use <alex.neyman@auriga.ru> as the mail address. Mail to 
 <avn@vagabond.auriga.ru> cannot be delivered. Thank you.
 
Responsible-Changed-From-To: freebsd-doc->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Mar 31 15:03:44 PST 2004 
Responsible-Changed-Why:  
I'll take a look at this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52672 
Responsible-Changed-From-To: linimon->freebsd-doc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Jun 30 02:21:39 GMT 2004 
Responsible-Changed-Why:  
I don't seem to be getting around to this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52672 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Fri Jul 15 16:56:10 GMT 2005 
State-Changed-Why:  
Both patches committed, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52672 
>Unformatted:
