Bug 243600 - ports-mgmt/portlint: add check for files being patched multiple times
Summary: ports-mgmt/portlint: add check for files being patched multiple times
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: 2020-01-26 05:21 UTC by Steve Wills
Modified: 2020-03-02 22:25 UTC (History)
1 user (show)

See Also:

proposed patch (846 bytes, patch)
2020-01-26 05:21 UTC, Steve Wills
no flags Details | Diff
new patch (890 bytes, patch)
2020-01-26 05:33 UTC, Steve Wills
swills: maintainer-approval? (marcus)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Wills freebsd_committer 2020-01-26 05:21:42 UTC
Created attachment 211045 [details]
proposed patch

Ports shouldn't be patching files multiple times, so here's a patch that adds a warning for that to portlint. I remembered just enough Perl to make it work, please feel free to suggest changes or rework it.
Comment 1 Steve Wills freebsd_committer 2020-01-26 05:33:42 UTC
Created attachment 211046 [details]
new patch

Oops, smartmatch is broken, avoid it.
Comment 2 Joe Marcus Clarke freebsd_committer 2020-03-02 22:25:10 UTC
Committed to 2.18.11.  Thanks.