Simple diff to enable ccache in QtBase5, OK?
? patches/patch-src_plugins_platforms_xcb_qxcbbackingstore_cpp Index: Makefile =================================================================== RCS file: /cvs/ports/x11/qt5/qtbase/Makefile,v retrieving revision 1.63 diff -u -p -r1.63 Makefile --- Makefile 15 Jun 2023 04:18:45 -0000 1.63 +++ Makefile 1 Sep 2023 12:02:36 -0000 @@ -147,8 +147,7 @@ CONFIGURE_ARGS += -no-vulkan CONFIGURE_ARGS += -no-libudev # disabled -CONFIGURE_ARGS += -no-ccache \ - -no-compile-examples \ +CONFIGURE_ARGS += -no-compile-examples \ -no-inotify \ -no-journald \ -no-mimetype-database \ @@ -246,3 +245,9 @@ post-install: cd ${PREFIX}/lib/qt5 && ln -sf ../../include/X11/qt5 include .include <bsd.port.mk> + +.if ${USE_CCACHE:L} != "yes" +CONFIGURE_ARGS += -no-ccache +.else +CONFIGURE_ARGS += -ccache +.endif