Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=06d66b0325c3403fff81693f1946217d9e0ec8d6

commit 06d66b0325c3403fff81693f1946217d9e0ec8d6
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Sun May 4 03:21:35 2008 +0200

ccache-2.4-7-i686
- document how to enable ccache for chrooted builds

diff --git a/source/devel/ccache/FrugalBuild b/source/devel/ccache/FrugalBuild
index 5dccf93..adae866 100644
--- a/source/devel/ccache/FrugalBuild
+++ b/source/devel/ccache/FrugalBuild
@@ -13,7 +13,7 @@ up2date="lynx -dump $url | grep 'The latest release' | sed -e 
's/.*ccache \(.*\)
source=(http://samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz \
README.Frugalware)
sha1sums=('9833ec13de9b90d5409e60d679ac681115ef465e' \
-          '47059d0eead0bc7cc0b47c5c242b9f2304966d27')
+          '2d5b11444ce6101f24f667abc3e523ae95a5241b')

build() {
Fbuild
diff --git a/source/devel/ccache/README.Frugalware 
b/source/devel/ccache/README.Frugalware
index c1feeeb..e585e45 100644
--- a/source/devel/ccache/README.Frugalware
+++ b/source/devel/ccache/README.Frugalware
@@ -1,8 +1,18 @@
After you installed ccache, it won't be enabled by default.
-There are 3 options to enable it:
+There are 4 options to enable it:
+
+1. Use makepkg. It uses ccache for host builds (-H option) if the package is
+   installed unless you use the -B option.
+
+2. If you do chrooted builds, you need to add the `fst` user to the `ccache`
+   group:
++
+----
+# usermod -a -G ccache fst
+----
++
+and then makepkg will use ccache by default.

-1. Use makepkg. It uses ccache if the package is installed unless
-   you use the -B option.
2. Most package's ./configure script supports specifying a custom compiler:
+
--------------------------------
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to