diff options
| author | Derek Schrock <dereks@lifeofadishwasher.com> | 2022-02-09 14:22:27 +0000 |
|---|---|---|
| committer | Guido Falsi <madpilot@FreeBSD.org> | 2022-02-09 14:24:30 +0000 |
| commit | a60dcd712517e7948e6867f2cbe89938b6c55681 (patch) | |
| tree | 63c54d76453a8429486402eb2cdbe4fde34e9660 | |
| parent | 39f7031c79eb0da62240461fe830b9df08545f55 (diff) | |
| download | ports-a60dcd712517e7948e6867f2cbe89938b6c55681.tar.gz ports-a60dcd712517e7948e6867f2cbe89938b6c55681.zip | |
emulators/virtualbox-ose(-legacy): Take advantage of ccache
This patch teaches the virtualbox ports to take advantage of ccache
if the ports are configured to use it.
PR: 254616
| -rw-r--r-- | emulators/virtualbox-ose-legacy/Makefile | 2 | ||||
| -rw-r--r-- | emulators/virtualbox-ose/Makefile | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile index 9276da479d50..ae08c1b6bc98 100644 --- a/emulators/virtualbox-ose-legacy/Makefile +++ b/emulators/virtualbox-ose-legacy/Makefile @@ -324,7 +324,7 @@ post-patch: do-build: cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \ - ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' + ${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' .if ${PORT_OPTIONS:MPYTHON} ${PYTHON_CMD} -mcompileall \ ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile index 019e4d7929ad..c308bb20cee7 100644 --- a/emulators/virtualbox-ose/Makefile +++ b/emulators/virtualbox-ose/Makefile @@ -213,8 +213,8 @@ KMK_FLAGS+= -j${MAKE_JOBS_NUMBER} # force llvm11 from ports .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300109 BUILD_DEPENDS+= clang${VBOX_LLVM_VER}:devel/llvm${VBOX_LLVM_VER} -CC= ${LOCALBASE}/bin/clang${VBOX_LLVM_VER} -CXX= ${LOCALBASE}/bin/clang++${VBOX_LLVM_VER} +CC= clang${VBOX_LLVM_VER} +CXX= clang++${VBOX_LLVM_VER} VBOX_LLVM_VER?= 11 .endif PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild @@ -334,7 +334,7 @@ post-patch-AIO-off: do-build: cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \ - ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' + ${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' .if ${PORT_OPTIONS:MPYTHON} ${PYTHON_CMD} -mcompileall \ ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom |
