Created attachment 179465 [details] Additionally seatch in EXTRA_PATCH_TREE for Makefile.local https://svnweb.freebsd.org/ports?view=revision&revision=431681 added the EXTRA_PATCH_TREE feature. I would like to suggest to deal with Makefile.local the same way (additionally searching them in the EXTRA_PATCH_TREE). This way Makefile.local could stay out of the regular ports tree as well. The patch attached is a suggestion for this. There are no changes for people not using Makefile.local in EXTRA_PATCH_TREE.
I don't like the idea of abusing a variable for what it was not made, and named, for. Please use a new variable.
Created attachment 179469 [details] Additionally search in EXTRA_MAKEFILE_LOCAL_TREE for Makefile.local Now using EXTRA_MAKEFILE_LOCAL_TREE instead of EXTRA_PATCH_TREE.
better now?
This seems like something that could/should be made to work with OVERLAYS instead.
Wow replying very late. Yes with overlay this was the plan for step2, if someone provide the same functionnality on top of overlay I would be more than happy to review