Bug 216668

Summary: [PATCH] expand EXTRA_PATCH_TREE functionality to Makefile.local
Product: Ports & Packages Reporter: Andre Albsmeier <mail>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed Feedback Timeout    
Severity: Affects Some People CC: ports-bugs
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Additionally seatch in EXTRA_PATCH_TREE for Makefile.local
none
Additionally search in EXTRA_MAKEFILE_LOCAL_TREE for Makefile.local none

Description Andre Albsmeier 2017-01-31 05:17:11 UTC
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.
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2017-01-31 09:31:32 UTC
I don't like the idea of abusing a variable for what it was not made, and named, for. Please use a new variable.
Comment 2 Andre Albsmeier 2017-01-31 11:09:43 UTC
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.
Comment 3 Andre Albsmeier 2017-01-31 11:10:00 UTC
better now?
Comment 4 Tobias Kortkamp freebsd_committer freebsd_triage 2019-11-02 20:13:36 UTC
This seems like something that could/should be made to work with
OVERLAYS instead.
Comment 5 Baptiste Daroussin freebsd_committer freebsd_triage 2021-11-22 13:05:49 UTC
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