gnu: chibi-scheme: Use 'modify-phases'.

* gnu/packages/scheme.scm (chibi-scheme)[arguments]: Use
'modify-phases'.
This commit is contained in:
Ludovic Courtès 2016-09-15 15:40:00 +02:00
parent 797a5cf57f
commit 4a187c556d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -571,14 +571,11 @@ (define-public chibi-scheme
(file-name (string-append "chibi-scheme-" version ".tar.gz")))) (file-name (string-append "chibi-scheme-" version ".tar.gz"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases (modify-phases %standard-phases
(alist-delete (delete 'configure)
'configure (add-before 'build 'set-cc
(alist-cons-before
'build 'set-cc
(lambda _ (lambda _
(setenv "CC" "gcc")) (setenv "CC" "gcc"))))
%standard-phases))
#:make-flags (let ((out (assoc-ref %outputs "out"))) #:make-flags (let ((out (assoc-ref %outputs "out")))
(list (string-append "PREFIX=" out) (list (string-append "PREFIX=" out)
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib"))) (string-append "LDFLAGS=-Wl,-rpath=" out "/lib")))