diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-02-04 00:41:28 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-02-04 00:41:28 +0000 |
commit | cc29c55e6b06e1e51fd744c40cf104204f5ba236 (patch) | |
tree | a2097943273ef2f3428528f8d164af7752d7e69a /devel/ccache | |
parent | 41e529372ef3c3799e1bcda74057706da689ee33 (diff) | |
download | ports-cc29c55e6b06e1e51fd744c40cf104204f5ba236.tar.gz ports-cc29c55e6b06e1e51fd744c40cf104204f5ba236.zip |
Notes
Diffstat (limited to 'devel/ccache')
-rw-r--r-- | devel/ccache/files/ccache-howto-freebsd.txt.in | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/devel/ccache/files/ccache-howto-freebsd.txt.in b/devel/ccache/files/ccache-howto-freebsd.txt.in index 9e21b075276b..5734361c3f31 100644 --- a/devel/ccache/files/ccache-howto-freebsd.txt.in +++ b/devel/ccache/files/ccache-howto-freebsd.txt.in @@ -18,11 +18,11 @@ CXX=/usr/bin/c++ .endif For Korn/Bourne shells Add the following to /etc/profile: - export PATH=%%LOCALBASE%%/libexec/ccache/:$PATH + export PATH=%%PREFIX%%/libexec/ccache/:$PATH export CCACHE_PATH=/usr/bin:%%LOCALBASE%%/bin For csh/tcsh Add the following to /etc/csh.cshrc: - setenv PATH %%LOCALBASE%%/libexec/ccache/:$PATH + setenv PATH %%PREFIX%%/libexec/ccache/:$PATH setenv CCACHE_PATH /usr/bin:%%LOCALBASE%%/bin -- @@ -54,3 +54,15 @@ build will fail because it will not be able to find the compiler. Any time you change CC/CXX you need to reinstall devel/libtool15 or you will run in to problems. + +-- + +Ccache's default cache size is 1GB and this is larger than the default size of +the root partition (/) on FreeBSD. To over come this you may specify a new +cache location on a different partition with the following examples. + +For Korn/Bourne shells Add the following to /etc/profile: + export CCACHE_DIR=/usr/.ccache + +For csh/tcsh Add the following to /etc/csh.cshrc + setenv DISTCC_HOSTS "/usr/.ccache" |