aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-02-04 13:29:47 +0800
committerahze <ahze@FreeBSD.org>2005-02-04 13:29:47 +0800
commit148d1b0116e99ffdd750e7b5d4592c18272e7044 (patch)
treed76200e49b20ec25800b92db527f1f0097f78b6f /devel
parent0f943c1f0c3304fe2a71aff1cad5790324d41cba (diff)
downloadfreebsd-ports-gnome-148d1b0116e99ffdd750e7b5d4592c18272e7044.tar.gz
freebsd-ports-gnome-148d1b0116e99ffdd750e7b5d4592c18272e7044.tar.zst
freebsd-ports-gnome-148d1b0116e99ffdd750e7b5d4592c18272e7044.zip
- Update howto example so make [build]kernel uses ccache.
Diffstat (limited to 'devel')
-rw-r--r--devel/ccache/files/ccache-howto-freebsd.txt.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/ccache/files/ccache-howto-freebsd.txt.in b/devel/ccache/files/ccache-howto-freebsd.txt.in
index b69ccffd2560..22494ba030ff 100644
--- a/devel/ccache/files/ccache-howto-freebsd.txt.in
+++ b/devel/ccache/files/ccache-howto-freebsd.txt.in
@@ -5,7 +5,7 @@
To use ccache add the following to /etc/make.conf
.if !defined(NOCCACHE)
-.if ${.CURDIR:M/usr/src*}
+.if ${.CURDIR:M/usr/src*} || ${.CURDIR:M${MAKEOBJDIRPREFIX}*}
CC=%%LOCALBASE%%/libexec/ccache/cc
CXX=%%LOCALBASE%%/libexec/ccache/c++
.else