Re: How to correctly reference WRKSRC of another port?

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 24 May 2021 18:57:35 UTC
Philipp Ost <pj@smo.de> writes:

> The Porter's Handbook mentions using WRKDIRPREFIXPORTSDIR [0], but
> that does not work. A search for WRKDIRPREFIXPORTSDIR in /usr/ports/Mk
> comes up empty. Do I explicitly have to define this variable?

That's a typo: WRKDIRPREFIXPORTSDIR -> WRKDIRPREFIX + PORTSDIR

> I've set NAUTY_BUILD_DEPENDS=nauty>0:math/nauty:extract. How do I
> correctly reference nauty's WRKSRC?

NAUTY_WRKSRC=	${:!${MAKE} -V WRKSRC -C ${.CURDIR:H:H}/math/nauty!}