Summary: | ports-mgmt/portlint: GH_xx lines should be acceptable in the USExx section after USE_GITHUB=yes | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Yuri Victorovich <yuri> | ||||||
Component: | Individual Port(s) | Assignee: | Joe Marcus Clarke <marcus> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | db | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(marcus) |
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239045 | ||||||||
Attachments: |
|
Created attachment 197713 [details]
Allows GH_* in USES section
I'm very rusty at perl but I was fixing another problem in portlint anyway so here is my attempt.
(In reply to Diane Bruce from comment #1) Oh I forgot to check that USE_GITHUB was set as well. I'll fix later. Created attachment 197718 [details]
Updated patch
Committed to my CVS repo pending the next release. Committed to 2.18.5. Thanks! |
Testcase: textproc/py-orange3-text > WARN: Makefile: extra item placed in the USES/USE_x section, for example, "GH_ACCOUNT" GH_ACCOUNT/GH_PROJECT/GH_TUPLE lines should be allowed in the USExx section when they immediately follow USE_HITHUB=yes because it is often more readable when github-related lines are located together. Likewise, GL_xx lines should be allowed to follow USE_GITLAB=yes. Version 2.18.4.