aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ccache/files
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2010-11-17 08:10:24 +0800
committerEmanuel Haupt <ehaupt@FreeBSD.org>2010-11-17 08:10:24 +0800
commit975249e71916ac95b7f64983444e9fb8f2b98236 (patch)
tree84a392fe01a2c040ab03c2c1c3f29d47439fc971 /devel/ccache/files
parent1783398c209451ba79fa114465fd3c10ac9fc9e5 (diff)
downloadfreebsd-ports-gnome-975249e71916ac95b7f64983444e9fb8f2b98236.tar.gz
freebsd-ports-gnome-975249e71916ac95b7f64983444e9fb8f2b98236.tar.zst
freebsd-ports-gnome-975249e71916ac95b7f64983444e9fb8f2b98236.zip
Update instructions on how to workaround a buildworld failure.
[1] http://kerneltrap.org/mailarchive/freebsd-hackers/2010/11/8/6886684 PR: 151287 (related) Submitted by: Dimitry Andric, avilla Discussed on: hackers [1]
Diffstat (limited to 'devel/ccache/files')
-rw-r--r--devel/ccache/files/ccache-howto-freebsd.txt.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/ccache/files/ccache-howto-freebsd.txt.in b/devel/ccache/files/ccache-howto-freebsd.txt.in
index eef830d2e7fd..74c44f6e6238 100644
--- a/devel/ccache/files/ccache-howto-freebsd.txt.in
+++ b/devel/ccache/files/ccache-howto-freebsd.txt.in
@@ -5,9 +5,13 @@
To use ccache add the following to /etc/make.conf
.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && !defined(NOCCACHE)
+.if !defined(CC) || ${CC} == "cc"
CC=%%PREFIX%%/%%CCLINKDIR%%/world-cc
+.endif
+.if !defined(CXX) || ${CXX} == "c++"
CXX=%%PREFIX%%/%%CCLINKDIR%%/world-c++
.endif
+.endif
For Korn/Bourne shells Add the following to /etc/profile:
export PATH=%%PREFIX%%/%%CCLINKDIR%%:$PATH