Hi, Today I've tried to build cad/kicad (fresh tree, 12-CURRENT) with WITH_DEBUG=yes. It's failed due to error: ===> Building package for kicad-4.0.7,2 pkg-static: Unable to access file /usr/ports/cad/kicad/work/stage/usr/local/share/doc/kicad/development/stable-debug-policy.md:No such file or directory *** Error code 1 Stop. make[1]: stopped in /usr/ports/cad/kicad *** Error code 1 Stop. make: stopped in /usr/ports/cad/kicad In pkg-plist this file is corresponding to: %%PORTDOCS%%%%DOCSDIR%%/development/stable-%%CMAKE_BUILD_TYPE%%-policy.md But actual tree is: # ls /usr/ports/cad/kicad/work/stage/usr/local/share/doc/kicad/development/ coding-style-policy.md compiling.md Doxyfile road-map.md stable-release-policy.md i.e. actual file name is stable-release-policy.md. I suppose it's issue of make-plist ;) and can be fixed by replace of macros by "release" in this line. But I doubt...
Fixed, thanks for the report!
A commit references this bug: Author: thierry Date: Tue Sep 5 20:07:12 UTC 2017 New revision: 449312 URL: https://svnweb.freebsd.org/changeset/ports/449312 Log: Fix plist with WITH_DEBUG=yes (I suspect that makeplist is too smart...) PR: 221977 Submitted by: mizhka (at) gmail.com Changes: head/cad/kicad/pkg-plist