From 493cff296abe79f40fce0c57e9598bf2eadc693a Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Fri, 16 Dec 2022 01:41:36 -0800 Subject: [PATCH] science/openmodelica: Fix build without ccache As it turned out it was refusing to build w/out ccache (which I had enabled by default). Reported by: fallout --- science/openmodelica/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/science/openmodelica/Makefile b/science/openmodelica/Makefile index e3137dda280ea..ac122b9230fab 100644 --- a/science/openmodelica/Makefile +++ b/science/openmodelica/Makefile @@ -65,6 +65,8 @@ GH_TUPLE= \ CMAKE_ARGS= -DCMAKE_MAKE_PROGRAM=gmake \ -DPython_EXECUTABLE=${PYTHON_CMD} +CMAKE_ARGS+= -DDOM_USE_CCACHE:BOOL=${CCACHE_ENABLED:S/yes/ON/:S/no/OFF/} # if refuses to build w/out ccache by default + LDFLAGS+= -lexecinfo -lintl -pthread BINARY_ALIAS= make=${GMAKE} gcc=${FILESDIR}/gcc.sh git=false