git: dc37cfca2d9f - main - lang/ghc: add NO_CCACHE=yes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Nov 2021 20:49:51 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=dc37cfca2d9fae66c3b4df647e400ca46fd0453b commit dc37cfca2d9fae66c3b4df647e400ca46fd0453b Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2021-11-17 20:44:26 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2021-11-17 20:48:27 +0000 lang/ghc: add NO_CCACHE=yes This fixes the following build error with ccache (probably caused by CCACHE_DIR not propagated through the build properly): [1 of 1] Compiling Main ( Setup.hs, Setup.o ) ccache: error: Failed to create directory /nonexistent/.ccache/6/3: Permission denied `clang' failed in phase `Assembler'. (Exit code: 1) Approved by: portmgr blanket --- lang/ghc/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index d0dc718a5830..6d2f987eee0d 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/Makefile @@ -25,6 +25,7 @@ USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ENV= PATH=${SLAVES_PREFIX}/bin:${PATH} MAKE_ENV= PATH=${SLAVES_PREFIX}/bin:${PATH} +NO_CCACHE= yes SUB_FILES= build.mk SUB_LIST= GHC_VERSION=${GHC_VERSION} \