* On 2025-01-15 at 10:44 GMT, Mayuresh wrote:
I have this in mk.conf .if !empty(PKGPATH:Mdevel/ccache) \ || !empty(PKGPATH:Mdevel/ccache3) \ || !empty(PKGPATH:Mdevel/gmake) \ || !empty(PKGPATH:Mdevel/zlib) \ || !empty(PKGPATH:Mdevel/libtool-base) \ || !empty(PKGPATH:Mdevel/m4) \ PKGSRC_COMPILER= gcc .else PKGSRC_COMPILER= ccache gcc .endif There was a large || list, which I have started trimming based on evidence of an error. (I got into trimming this list only after facing above issue.)
You could avoid all of this complexity by building ccache inside your /usr/pbulk prefix, and then simply use that binary to build every package for your target prefix.
-- Jonathan Perkin pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com