Bug 239045

Summary: ports-mgmt/portlint: portlint gives wrong warnings
Product: Ports & Packages Reporter: Mathieu Arnold <mat>
Component: Individual Port(s)Assignee: Joe Marcus Clarke <marcus>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (marcus)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231870
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231422

Description Mathieu Arnold freebsd_committer freebsd_triage 2019-07-08 14:01:30 UTC
The Makefile has:

```
USES=           python shebangfix ssl
SHEBANG_FILES=  acme_tiny.py

USE_GITHUB=     yes
GH_ACCOUNT=     diafygi
```

$ portlint -AC
WARN: Makefile: extra item placed in the USES/USE_x section, for example, "SHEBANG_FILES".
0 fatal errors and 1 warning found.

But the Makefile is perfectly correct wrt https://www.freebsd.org/doc/en/books/porters-handbook/porting-order-uses.html as SHEBANG_FILES is a variable related to USES=shebangfix.
Comment 1 Joe Marcus Clarke freebsd_committer freebsd_triage 2019-09-02 14:36:56 UTC
I have removed the check as this will be too difficult to track since these variables will always be changing.
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2019-09-04 15:09:03 UTC
Check removed in 2.18.10.