Bug 239045 - ports-mgmt/portlint: portlint gives wrong warnings
Summary: ports-mgmt/portlint: portlint gives wrong warnings
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Joe Marcus Clarke
Depends on:
Reported: 2019-07-08 14:01 UTC by Mathieu Arnold
Modified: 2019-09-04 15:09 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (marcus)


Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Arnold freebsd_committer 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 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 2019-09-04 15:09:03 UTC
Check removed in 2.18.10.