Section 13.1.7 here https://www.freebsd.org/doc/en/books/porters-handbook/porting-samplem.html#porting-samplem-order requires that USES precedes USE_x. portlint allows USE_GITHUB before USES.
Added in 2.17.10.
Hi Marcus. >WARN: Makefile: USE_* seen before USES. According to the porters-handbook, USES must >appear first. >0 fatal errors and 1 warning found. I'm getting this warning in ports that not have USE_ in their Makefile. Examples: textproc/pdfgrep textproc/pecl-yaml Regards.