Date: Sat, 22 Mar 2003 02:00:58 +0300 From: "Sergey A. Osokin" <osa@freebsd.org.ru> To: ports@FreeBSD.org Subject: Re: Possible doc bug in porter's handbook Message-ID: <20030321230058.GU49925@freebsd.org.ru>
next in thread | raw e-mail | index | archive | help
On Fri, Mar 21, 2003 at 09:50:28PM +0100, Henrik Motakef wrote: > Quote from the porter's handbook: > ,- > | 4.8.1 WRKSRC > | > | 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 > | > | or possibly > | > | WRKSRC= ${PORTNAME} > `- > > <http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-wrkdir.html> > > If I'm not mistaken, this is wrong, because ${WRKSRC} is supposed to > be an absolute path, e.g. "${WRKDIR}/foo". Am I confused, or should I > send a patch to the doc team? AFAIK you're right. Just look at ports/Mk/bsd.port.mk and find description of WRKDIR/WRKSRC variables. Please, if it possible, make a patch and create PR via send-pr(1) interface. Thanks for your report. -- Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \ 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?20030321230058.GU49925>