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.
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.
Created attachment 147019 [details] Changes to process directories in EXTRA_PATCHES
Over to maintainer group (portmgr)
Obsoleted by PR 215726 and r431681
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.
The patch code has been completely rewritten, let me know if https://reviews.freebsd.org/D10855 does what you want.