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

commit 6e4a61455ea465f5ab772b80f874596949858d1f
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Sun May 4 03:31:12 2008 +0200

ccache-2.4-7-i686
- reword README.Frugalware. the original one was written before we had
chrooted builds, so it was hard to understand the previous version these
days

diff --git a/source/devel/ccache/FrugalBuild b/source/devel/ccache/FrugalBuild
index adae866..8d6acab 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' \
-          '2d5b11444ce6101f24f667abc3e523ae95a5241b')
+          'd7d2fbf76cc067d0079c2d0d99d1a49f8a15aba2')

build() {
Fbuild
diff --git a/source/devel/ccache/README.Frugalware 
b/source/devel/ccache/README.Frugalware
index e585e45..c249da7 100644
--- a/source/devel/ccache/README.Frugalware
+++ b/source/devel/ccache/README.Frugalware
@@ -1,29 +1,27 @@
-After you installed ccache, it won't be enabled by default.
-There are 4 options to enable it:
+After you installed `ccache`, it won't be enabled by default.

-1. Use makepkg. It uses ccache for host builds (-H option) if the package is
-   installed unless you use the -B option.
+First, you need to determine how is allowed to use `ccache`. You have to
+add each user to the `ccache` group. If you want to allow using `ccache`
+from chrooted builds, then you need to add the `fst` user:

-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.

-2. Most package's ./configure script supports specifying a custom compiler:
-+
+Second, you need to somehow let the build system to use `ccache`, and
+not the compiler directly. If you use `makepkg`, this is enabled by
+default (you can disable it with the `-B` option). If you build
+manually, then you are on your own, though usually there are two ways to
+do so:
+
+- Tell the configure script to use a different compiler:
+
--------------------------------
$ CC=/usr/bin/ccache ./configure
--------------------------------
-+
-should enable ccache for you.

-3. Modify the PATH, this way ccache will be enabled for you till you leave
-   the shell:
-+
+- Modify path to use the fake compiler provided by `ccache`:
+
-------------------------------------
export PATH=/usr/lib/ccache/bin:$PATH
-------------------------------------
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to