aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ccache/files
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-01-12 07:21:55 +0800
committerahze <ahze@FreeBSD.org>2006-01-12 07:21:55 +0800
commit42f5ed0e349ddde1493b1f0c6027812068357ca4 (patch)
treea471f0d9bbe1ab24543155223d327d999b387a00 /devel/ccache/files
parent9a514c736f75f48b75f505c665a5655e3e5a393f (diff)
downloadfreebsd-ports-gnome-42f5ed0e349ddde1493b1f0c6027812068357ca4.tar.gz
freebsd-ports-gnome-42f5ed0e349ddde1493b1f0c6027812068357ca4.tar.zst
freebsd-ports-gnome-42f5ed0e349ddde1493b1f0c6027812068357ca4.zip
- Fix example so it works better with make buildworld if you define NOCCACHE
with out installing ccache links in PREFIX/libexec/ccache/ - Add gcc42
Diffstat (limited to 'devel/ccache/files')
-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 6f9f75f12475..ed0316e6f2a6 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*} && exists(%%LOCALBASE%%/libexec/ccache/cc)
CC=%%LOCALBASE%%/libexec/ccache/cc
CXX=%%LOCALBASE%%/libexec/ccache/c++
.else