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"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(alist-delete
'configure
(alist-cons-before
'build 'set-cc
(lambda _
(setenv "CC" "gcc"))
%standard-phases))
`(#:phases (modify-phases %standard-phases
(delete 'configure)
(add-before 'build 'set-cc
(lambda _
(setenv "CC" "gcc"))))
#:make-flags (let ((out (assoc-ref %outputs "out")))
(list (string-append "PREFIX=" out)
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib")))