From bd368c71749f09af69f5f5688cf536f0e943b868 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 22 Sep 2016 23:43:20 -0500 Subject: gnu: ccache: Use modify-phases. * gnu/packages/ccache.scm (ccache)[arguments]: Use modify-phases. --- gnu/packages/ccache.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'gnu/packages/ccache.scm') diff --git a/gnu/packages/ccache.scm b/gnu/packages/ccache.scm index 01db7ae57d..9b8c147e69 100644 --- a/gnu/packages/ccache.scm +++ b/gnu/packages/ccache.scm @@ -43,14 +43,13 @@ ("which" ,(@ (gnu packages base) which)))) (inputs `(("zlib" ,zlib))) (arguments - '(#:phases (alist-cons-before - 'check 'setup-tests - (lambda _ - (substitute* '("test/test_hashutil.c" "test.sh") - (("#!/bin/sh") (string-append "#!" (which "sh"))) - (("which") (which "which"))) - #t) - %standard-phases))) + '(#:phases (modify-phases %standard-phases + (add-before 'check 'setup-tests + (lambda _ + (substitute* '("test/test_hashutil.c" "test.sh") + (("#!/bin/sh") (string-append "#!" (which "sh"))) + (("which") (which "which"))) + #t))))) (home-page "https://ccache.samba.org/") (synopsis "Compiler cache") (description -- cgit 1.4.1 From 56f33f3fd58ab5ad181aefd9cce2c72d06767803 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 22 Sep 2016 23:56:17 -0500 Subject: gnu: ccache: Upgrade to 3.3.1. * gnu/packages/ccache.scm (ccache): Upgrade to 3.3.1. [description]: Adjust supported languages. --- gnu/packages/ccache.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gnu/packages/ccache.scm') diff --git a/gnu/packages/ccache.scm b/gnu/packages/ccache.scm index 9b8c147e69..48ed860724 100644 --- a/gnu/packages/ccache.scm +++ b/gnu/packages/ccache.scm @@ -29,7 +29,7 @@ (define-public ccache (package (name "ccache") - (version "3.2.5") + (version "3.3.1") (source (origin (method url-fetch) @@ -37,7 +37,7 @@ version ".tar.xz")) (sha256 (base32 - "11db1g109g0g5si0s50yd99ja5f8j4asxb081clvx78r9d9i2w0i")))) + "1ij1p8arz72fw67gx65ngb7jmg30ynjxk7i8dmikjxkdri4pmn66")))) (build-system gnu-build-system) (native-inputs `(("perl" ,perl) ;for test.sh ("which" ,(@ (gnu packages base) which)))) @@ -55,5 +55,6 @@ (description "Ccache is a compiler cache. It speeds up recompilation by caching previous compilations and detecting when the same compilation is being done -again. Supported languages are C, C++, Objective-C and Objective-C++.") +again. Supported languages are C, C++, Objective-C, Objective-C++, and +Fortran 77.") (license gpl3+))) -- cgit 1.4.1