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: New
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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-26 05:21 UTC by Steve Wills
Modified: 2020-01-26 05:33 UTC (History)
1 user (show)

See Also:


Attachments
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.