Bug 243600

Summary: ports-mgmt/portlint: add check for files being patched multiple times
Product: Ports & Packages Reporter: Steve Wills <swills>
Component: Individual Port(s)Assignee: Joe Marcus Clarke <marcus>
Status: Closed FIXED    
Severity: Affects Only Me CC: marcus
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
proposed patch
none
new patch swills: maintainer-approval? (marcus)

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.