[Bug 231870] ports-mgmt/portint: Bogus warnings about extra items placed in the USES/USE_x section
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Oct 1 23:37:28 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231870
Bug ID: 231870
Summary: ports-mgmt/portint: Bogus warnings about extra items
placed in the USES/USE_x section
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: tobik at freebsd.org
With something like (see editors/ghostwriter for an example port)
USES= ...
USE_GITHUB= yes
GH_ACCOUNT= blabla
portlint -AC wrongly complains
WARN: Makefile: extra item placed in the USES/USE_x section, for example,
"GH_ACCOUNT".
0 fatal errors and 1 warning found.
This is contrary to what's suggested in the Porter's Handbook [1]
where it says
Keep related variables close together. For example, if using
USE_GITHUB, always put the GH_* variables right after it.
Also see the example Makefile at [2].
[1]
https://www.freebsd.org/doc/en/books/porters-handbook/porting-order-uses.html
[2] https://www.freebsd.org/doc/en/books/porters-handbook/porting-samplem.html
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list