Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2023 22:06:41 GMT
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 01927a4913fa - main - www/node18: www/node19: honor ccache for build
Message-ID:  <202302202206.31KM6fVf053785@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=01927a4913fa76325592b3331f39fcf0d2aa36de

commit 01927a4913fa76325592b3331f39fcf0d2aa36de
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2023-02-11 12:00:48 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2023-02-20 22:06:37 +0000

    www/node18: www/node19: honor ccache for build
    
    This works because CCACHE_BIN is empty if not requested.
    
    Approved by:    sunpoet@ (maintainer)
    PR:             269491
---
 www/node18/Makefile | 4 ++--
 www/node19/Makefile | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/node18/Makefile b/www/node18/Makefile
index f08827eab1fa..6e949dff78f7 100644
--- a/www/node18/Makefile
+++ b/www/node18/Makefile
@@ -37,9 +37,9 @@ CONFIGURE_ARGS=	--prefix=${PREFIX:S|^${DESTDIR}||} \
 		--shared-zlib \
 		--without-npm
 HAS_CONFIGURE=	yes
-MAKE_ENV=	CC.host="${CC}" \
+MAKE_ENV=	CC.host="${CCACHE_BIN} ${CC}" \
 		CFLAGS.host="${CFLAGS}" \
-		CXX.host="${CXX}" \
+		CXX.host="${CCACHE_BIN} ${CXX}" \
 		CXXFLAGS.host="${CXXFLAGS}" \
 		LDFLAGS.host="${LDFLAGS}" \
 		LINK.host="${CXX}"
diff --git a/www/node19/Makefile b/www/node19/Makefile
index a393d5f3446d..ba1e8dc52a09 100644
--- a/www/node19/Makefile
+++ b/www/node19/Makefile
@@ -37,9 +37,9 @@ CONFIGURE_ARGS=	--prefix=${PREFIX:S|^${DESTDIR}||} \
 		--shared-zlib \
 		--without-npm
 HAS_CONFIGURE=	yes
-MAKE_ENV=	CC.host="${CC}" \
+MAKE_ENV=	CC.host="${CCACHE_BIN} ${CC}" \
 		CFLAGS.host="${CFLAGS}" \
-		CXX.host="${CXX}" \
+		CXX.host="${CCACHE_BIN} ${CXX}" \
 		CXXFLAGS.host="${CXXFLAGS}" \
 		LDFLAGS.host="${LDFLAGS}" \
 		LINK.host="${CXX}"



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