Bug 50182

Summary: Broken examples for WRKSRC usage in porter's handbook
Product: Documentation Reporter: Henrik Motakef <henrik.motakef>
Component: Books & ArticlesAssignee: Ceri Davies <ceri>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Henrik Motakef 2003-03-22 02:10:11 UTC
	The examples given in section 4.8.1. "WRKSRC" of The Porter's Handbook
	don't work in practice: They set the WRKSRC variable to the name of a
	relative directory, but it has to be an absolute path.

	This patch updates the examples to set WRKSRC relative ${WRKDIR}. This
	is in line with the default set in bsd.port.mk, where WRKSRC is 
	initialized to ${WRKDIR}/${DISTNAME}.

How-To-Repeat: 	- Read http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-wrkdir.html#AEN1877
	- Try to set WRKSRC to ${PORTNAME} in a port makefile, like the
	  example suggests.
Comment 1 Ceri Davies freebsd_committer freebsd_triage 2003-03-22 09:17:47 UTC
Responsible Changed
From-To: freebsd-doc->ceri

I'll take care of this.
Comment 2 Ceri Davies freebsd_committer freebsd_triage 2003-04-02 22:12:20 UTC
State Changed
From-To: open->closed

Your patch was committed; thank you!