diff options
author | ahze <ahze@FreeBSD.org> | 2005-02-04 08:41:28 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-02-04 08:41:28 +0800 |
commit | 18a11677cd88a4e467c3c1ae7c6c945ff1722c99 (patch) | |
tree | b990aa4849c11875275e93bfb3d38a008e750019 /devel | |
parent | 26814fdf92d2eca1f857947ddfddbede114b0ec1 (diff) | |
download | freebsd-ports-gnome-18a11677cd88a4e467c3c1ae7c6c945ff1722c99.tar.gz freebsd-ports-gnome-18a11677cd88a4e467c3c1ae7c6c945ff1722c99.tar.zst freebsd-ports-gnome-18a11677cd88a4e467c3c1ae7c6c945ff1722c99.zip |
- Add a note in howto about changeing the default cache location since the default
cache size is 1GB and this is larger than the the default partition size
of root (/) [1]
- Use PREFIX instead of LOCALBASE for patch to libexec/ccache/.. in howto
Requested by: mezz [1]
Diffstat (limited to 'devel')
-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" |