Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-firewall/fwbuilder/files: fwbuilder-4.2.2.3541-ccache.patch
Date: Sun, 29 May 2011 17:06:30
Message-Id: 20110529170615.88B7D20057@flycatcher.gentoo.org
1 dilfridge 11/05/29 17:06:15
2
3 Added: fwbuilder-4.2.2.3541-ccache.patch
4 Log:
5 Disable ccache and distcc autodetection, bug 346009
6
7 (Portage version: 2.1.9.49/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 net-firewall/fwbuilder/files/fwbuilder-4.2.2.3541-ccache.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwbuilder/files/fwbuilder-4.2.2.3541-ccache.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwbuilder/files/fwbuilder-4.2.2.3541-ccache.patch?rev=1.1&content-type=text/plain
14
15 Index: fwbuilder-4.2.2.3541-ccache.patch
16 ===================================================================
17 diff -ruN fwbuilder-4.2.2.3541.orig/configure.in fwbuilder-4.2.2.3541/configure.in
18 --- fwbuilder-4.2.2.3541.orig/configure.in 2011-05-11 23:02:03.000000000 +0200
19 +++ fwbuilder-4.2.2.3541/configure.in 2011-05-29 18:53:06.624998022 +0200
20 @@ -638,12 +638,27 @@
21 AC_SUBST(MANDIR)
22 AC_SUBST(ICONSDIR)
23
24 -AC_PATH_PROG(CCACHE, ccache, , )
25 -AC_SUBST(CCACHE)
26 +AC_ARG_WITH(ccache,[ --with-ccache=yes Use ccache to speed up repeated compilation])
27
28 -if test -n "$CCACHE"
29 -then
30 +if test -n "$with_ccache"; then
31 + if test "x$with_ccache" != "xno"; then
32 + AC_PATH_PROG(CCACHE, ccache, , )
33 + AC_SUBST(CCACHE)
34 + if test -n "$CCACHE"
35 + then
36 + ccache -s
37 + fi
38 + else
39 + CCACHE=""
40 + AC_SUBST(CCACHE)
41 + fi
42 +else
43 + AC_PATH_PROG(CCACHE, ccache, , )
44 + AC_SUBST(CCACHE)
45 + if test -n "$CCACHE"
46 + then
47 ccache -s
48 + fi
49 fi
50
51 AC_ARG_WITH(distcc,[ --with-distcc=N Use distcc with N parallel make count])