Date: Sat, 22 Mar 2003 11:48:08 +0000 From: Ceri Davies <ceri@FreeBSD.org> To: Yar Tikhiy <yar@freebsd.org> Cc: ports@freebsd.org Subject: Re: WRKSRC Message-ID: <20030322114808.GA6323@submonkey.net> In-Reply-To: <20030322114224.GA19927@comp.chem.msu.su> References: <20030322114224.GA19927@comp.chem.msu.su>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 22, 2003 at 02:42:24PM +0300, Yar Tikhiy wrote: > Hello, > > The FreeBSD Porter's Handbook, subsection 4.8.1, reads: > > The variable lists the name of the directory that is created > when the application's distfiles are extracted. If our > previous example extracted into a directory called foo (and > not foo-1.0) you would write: > > WRKSRC= foo > > That is while in reality one has to write: > > WRKSRC= ${WRKDIR}/foo > > since WRKSRC is treated by bsd.port.mk as a full pathname. > > So which one, the handbook or bsd.port.mk, is to be changed? Is > there any reason to have this "${WRKDIR}/" stuff in each Makefile > utilizing WRKSRC? A quick grep seems to indicate that it would be easier to change the handbook, but that's not necessarily the correct solution ;) I've got PR misc/50137 assigned to me with a patch for the handbook; I'll wait over the weekend to see what the consensus turns out to be. Ceri -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030322114808.GA6323>