Section 5.8 [1] shows LIB_DEPENDS using ${PORTSDIR} in paths. I believe this is incorrect after ports commit 412348 [2] and friends. [1] https://www.freebsd.org/doc/en/books/porters-handbook/book.html#makefile-depend [2] https://svnweb.freebsd.org/ports?view=revision&revision=412348
A commit references this bug: Author: jgh Date: Fri Jun 10 23:23:33 UTC 2016 New revision: 48913 URL: https://svnweb.freebsd.org/changeset/doc/48913 Log: - remove applicable ${PORTSDIR} referrences PR: 210066 Reported by: rwestlun@gmail.com Changes: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml head/en_US.ISO8859-1/books/porters-handbook/porting-samplem/chapter.xml head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
Thanks for the report!