Bug 252070

Summary: Mk: add new default-version variant for ccache
Product: Ports & Packages Reporter: Ivan Rozhuk <rozhuk.im>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed Not Accepted    
Severity: Affects Some People CC: bdrewery, lwhsu, rozhuk.im
Priority: --- Keywords: feature, needs-qa
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch
none
patch none

Description Ivan Rozhuk 2020-12-23 17:19:09 UTC
Created attachment 220850 [details]
patch

Allow to set on make.conf
DEFAULT_VERSIONS+=ccache=ccahe-static

Or any of: ccahe, ccahe-devel, ccahe-memcached, ccahe-memcached-static, ccahe-static
Comment 1 Bryan Drewery freebsd_committer freebsd_triage 2021-05-24 19:16:42 UTC
Interesting, I like how simple this is. +1
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2021-05-25 00:49:40 UTC
(In reply to Bryan Drewery from comment #1)
Will you commit this?
Comment 3 Li-Wen Hsu freebsd_committer freebsd_triage 2021-05-25 09:13:21 UTC
MAINTAINER of bsd.default-versions.mk is ports@FreeBSD.org
Comment 4 Mathieu Arnold freebsd_committer freebsd_triage 2021-05-25 13:47:04 UTC
MAINTAINER of bsd.ccache.mk is portmgr.
Comment 5 Bryan Drewery freebsd_committer freebsd_triage 2021-07-12 19:41:41 UTC
Note the patch misspells 'ccache'. I also am unsure if this is worth doing as it implies that any of these can be used as a drop-in which isn't the case. Using ccache-*-static requires more setup than bsd.ccache.mk supports; which is to say that it is not intended to be a dependency but to *already be installed* in the system somewhere.
Comment 6 Ivan Rozhuk 2021-07-13 13:11:43 UTC
This was done for ccache-devel [1] too, it is lite ccache version without all legacy staff.


[1]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252088
Comment 7 Ivan Rozhuk 2021-07-13 13:14:38 UTC
Created attachment 226428 [details]
patch