gnu: txr: Update to 239.

* gnu/packages/lisp.scm (txr): Update to 239.
  [arguments]: Use cc-for-target.
This commit is contained in:
Guillaume Le Vaillant 2020-06-05 14:08:20 +02:00
parent 66294d7cfe
commit 3a7fcfb34e
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F

View File

@ -800,7 +800,7 @@ enough to play the original mainframe Zork all the way through.")
(define-public txr (define-public txr
(package (package
(name "txr") (name "txr")
(version "238") (version "239")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -809,15 +809,12 @@ enough to play the original mainframe Zork all the way through.")
(commit (string-append "txr-" version)))) (commit (string-append "txr-" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0asdq4n828xb1m31s7f47mqcbjqkzxz11bwnw8v3f2249m93ync4")))) (base32 "1jldpkd5f855m3z4zjpd1ha64f405pcdwwrnr8jnk66v22dsvdwx"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(let ((target ,(%current-target-system))) (list ,(string-append "cc=" (cc-for-target))
(list (string-append "cc=" (if target (string-append "--prefix=" (assoc-ref %outputs "out")))
(string-append target "-gcc")
"gcc"))
(string-append "--prefix=" (assoc-ref %outputs "out"))))
#:test-target "tests" #:test-target "tests"
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases