Bug 193435 - Enhance EXTRA_PATCHES so that it can contain directories as well as files.
Summary: Enhance EXTRA_PATCHES so that it can contain directories as well as files.
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on: 193432
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-07 17:04 UTC by Ian Lepore
Modified: 2019-09-05 09:30 UTC (History)
0 users

See Also:


Attachments
Changes to process directories in EXTRA_PATCHES (1.86 KB, patch)
2014-09-07 17:04 UTC, Ian Lepore
no flags Details | Diff
Changes to process directories in EXTRA_PATCHES (1.86 KB, patch)
2014-09-07 17:21 UTC, Ian Lepore
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.