Bug 44278

Summary: /usr/src/games/fortune/datfiles/freebsd-tips refers to nonexistent /usr/share/examples/etc/make.conf
Product: Documentation Reporter: Chris Pepper <pepper>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Chris Pepper 2002-10-19 22:20:01 UTC
	/usr/src/games/fortune/datfiles/freebsd-tips suggests reading /usr/share/examples/etc/make.conf, but that file doesn't exist.

Fix: 

Create this file, update the path in freebsd-tips, or remove the tip from freebsd-tips.
How-To-Repeat: 	grep make.conf /usr/src/games/fortune/datfiles/freebsd-tips
	ls -l /usr/share/examples/etc/make.conf
Comment 1 Marc Fonvieille freebsd_committer freebsd_triage 2002-10-19 22:35:55 UTC
State Changed
From-To: open->closed

It was in fact /usr/share/examples/etc/defaults/make.conf 
Fixed, thanks.
Comment 2 Peter Pentchev 2002-10-19 22:39:43 UTC
On Sat, Oct 19, 2002 at 05:17:49PM -0400, Chris Pepper wrote:
> 
> >Number:         44278
> >Category:       docs
> >Synopsis:       /usr/src/games/fortune/datfiles/freebsd-tips refers to nonexistent /usr/share/examples/etc/make.conf
> >Originator:     Chris Pepper
> >Release:        FreeBSD 4.7-STABLE i386
> >Description:
> 	/usr/src/games/fortune/datfiles/freebsd-tips suggests reading /usr/share/examples/etc/make.conf, but that file doesn't exist.
> 	
> >How-To-Repeat:
> 	grep make.conf /usr/src/games/fortune/datfiles/freebsd-tips
> 	ls -l /usr/share/examples/etc/make.conf
> 	
> >Fix:
> 	Create this file, update the path in freebsd-tips, or remove the tip from freebsd-tips.

I believe the attached patch should fix the problem; this is CC'd to
Juli Mallett, because she sync'd this file with the version in -CURRENT
in rev. 1.14.2.6.  Apparently, this tiny detail slipped her attention,
which is actually quite understandable in a pre-release frenzy :)

G'luck,
Peter

-- 
Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
I am the thought you are now thinking.

Index: src/games/fortune/datfiles/freebsd-tips
===================================================================
RCS file: /home/ncvs/src/games/fortune/datfiles/freebsd-tips,v
retrieving revision 1.14.2.7
diff -u -r1.14.2.7 freebsd-tips
--- src/games/fortune/datfiles/freebsd-tips	17 Oct 2002 07:44:51 -0000	1.14.2.7
+++ src/games/fortune/datfiles/freebsd-tips	19 Oct 2002 21:36:22 -0000
@@ -74,7 +74,7 @@
 	$ export VARIABLE
 %
 You can use /etc/make.conf to control the options used to compile software
-on this system.  Example entries are in /usr/share/examples/etc/make.conf.
+on this system.  Example entries are in /etc/defaults/make.conf.
 %
 To do a fast search for a file, try