Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2022 09:44:28 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 493cff296abe - main - science/openmodelica: Fix build without ccache
Message-ID:  <202212160944.2BG9iSfR098018@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=493cff296abe79f40fce0c57e9598bf2eadc693a

commit 493cff296abe79f40fce0c57e9598bf2eadc693a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-16 09:41:36 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-16 09:43:55 +0000

    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 e3137dda280e..ac122b9230fa 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212160944.2BG9iSfR098018>