From: Michael Tremer Date: Thu, 3 Jun 2010 15:47:54 +0000 (+0200) Subject: ccache: Update to 3.0pre1. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70dc7b281c098ef093df0c15cd00ea4af9dbb425;p=ipfire-3.x.git ccache: Update to 3.0pre1. --- diff --git a/naoki/chroot.py b/naoki/chroot.py index 21ba426ac..1875eea3e 100644 --- a/naoki/chroot.py +++ b/naoki/chroot.py @@ -142,6 +142,8 @@ class Environment(object): if os.path.exists(self.chrootPath(ccache_path)): env.update({ "PATH" : "/%s:%s" % (ccache_path, env["PATH"]), + "CCACHE_COMPILERCHECK" : "none", + "CCACHE_COMPRESS" : "1", "CCACHE_DIR" : "/usr/src/ccache", }) diff --git a/pkgs/core/ccache/ccache.nm b/pkgs/core/ccache/ccache.nm index 27dc21516..42bafea47 100644 --- a/pkgs/core/ccache/ccache.nm +++ b/pkgs/core/ccache/ccache.nm @@ -25,7 +25,7 @@ include $(PKGROOT)/Include PKG_NAME = ccache -PKG_VER = 3.0pre0 +PKG_VER = 3.0pre1 PKG_REL = 0 PKG_MAINTAINER = @@ -51,8 +51,8 @@ CFLAGS += -DDEFAULT_MAXSIZE=2097152 CONFIGURE_OPTIONS += \ --mandir=/usr/share -define STAGE_PREPARE_CMDS - cd $(DIR_APP) && sed -e "s/hash_int(&hash, st.st_mtime);//g" -i ccache.c +define STAGE_TEST + cd $(DIR_APP) && make check endef define STAGE_INSTALL_CMDS