Bug 193435

Summary: Enhance EXTRA_PATCHES so that it can contain directories as well as files.
Product: Ports & Packages Reporter: Ian Lepore <ian>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed Feedback Timeout    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215726
Bug Depends on: 193432    
Bug Blocks:    
Attachments:
Description Flags
Changes to process directories in EXTRA_PATCHES
none
Changes to process directories in EXTRA_PATCHES none

Description Ian Lepore freebsd_committer freebsd_triage 2014-09-07 17:04:26 UTC
Created attachment 147018 [details]
Changes to process directories in EXTRA_PATCHES

The attached patch adds the ability to specify directories as well as individual files in the EXTRA_PATCHES list.  All patch-* files in each listed directory are applied.

One thing this can be useful for is master/slave ports in which the master port applies patches using EXTRA_PATCHES and then the slave port can apply additional patches on top of those using the normal PATCHDIR mechanism.
Comment 1 John Marino freebsd_committer freebsd_triage 2014-09-07 17:13:07 UTC
Ian, can you assume bug 193432 is accomplished and submit a new version?

The second I commit patch from bug 193432, this patch no longer applies.
Comment 2 Ian Lepore freebsd_committer freebsd_triage 2014-09-07 17:21:13 UTC
Created attachment 147019 [details]
Changes to process directories in EXTRA_PATCHES
Comment 3 John Marino freebsd_committer freebsd_triage 2014-09-07 17:27:58 UTC
Over to maintainer group (portmgr)
Comment 4 Ian Lepore freebsd_committer freebsd_triage 2017-05-21 17:23:13 UTC
Obsoleted by PR 215726 and r431681
Comment 5 Mathieu Arnold freebsd_committer freebsd_triage 2017-05-22 13:08:08 UTC
Mmm, this is not the same thing at all.
EXTRA_PATCH_TREE is for local patches, and must not be used in a port's Makefile.
Comment 6 Mathieu Arnold freebsd_committer freebsd_triage 2017-05-22 13:16:58 UTC
The patch code has been completely rewritten, let me know if https://reviews.freebsd.org/D10855 does what you want.