Currently portlint prints many errors per file. Instead portlint should just report one error for the whole WRKDIR: > Please clean to remove the WRKDIR directory 'work'
It actually _does_ to this work `work`: ``` ⇒ ls Makefile distinfo files/ pkg-descr pkg-message work/ root@badlands:~/src/ports/xml2rfc| ⇒ !po root@badlands:~/src/ports/xml2rfc| ⇒ portlint -C fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git FATAL: work: be sure to cleanup the working directory before committing the port. WARN: Consider to set DEVELOPER=yes in /etc/make.conf 1 fatal error and 1 warning found. ``` However, for something like work-py311 it does not. I suppose you're asking for the same to apply for FLAVOR'd WRKDIRs?
(In reply to Joe Marcus Clarke from comment #1) Yes, it should use 'make -V WRKDIR'. In case of flavored ports it should go through all possible WRKDIRs: 'make FLAVOR={flavor} -V WRKDIR'.