gnu: hop: Update to 3.2.0-pre1.

* gnu/packages/scheme.scm (hop): Update to 3.2.0-pre1.
[arguments]: Add "--hostcc=gcc" to configure flags in the 'configure' phase
and substitute absolute reference to "/bin/rm".
This commit is contained in:
Kei Kebreau 2018-12-30 14:24:16 -05:00
parent deaf0e7b21
commit 697b6ca368
No known key found for this signature in database
GPG Key ID: E6A5EE3C19467A0D
1 changed files with 6 additions and 2 deletions

View File

@ -320,14 +320,14 @@ and between Scheme and Java programs.")
(define-public hop (define-public hop
(package (package
(name "hop") (name "hop")
(version "3.1.0-pre2") (version "3.2.0-pre1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "ftp://ftp-sop.inria.fr/indes/fp/Hop/hop-" (uri (string-append "ftp://ftp-sop.inria.fr/indes/fp/Hop/hop-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0bvq79vxcpgwydwi923cxb5w9isx2x8r3d0xndbdhacmmsw1m811")))) "0jf418d0s9imv98s6qrpjxr1mdaxr37knh5qyfl5y4a9cc41mlg5"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:test-target "test" `(#:test-target "test"
@ -338,8 +338,12 @@ and between Scheme and Java programs.")
(replace 'configure (replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(substitute* '("tools/Makefile"
"test/hopjs/TEST.in")
(("/bin/rm") (which "rm")))
(invoke "./configure" (invoke "./configure"
(string-append "--prefix=" out) (string-append "--prefix=" out)
"--hostcc=gcc"
(string-append "--blflags=" (string-append "--blflags="
;; user flags completely override useful ;; user flags completely override useful
;; default flags, so repeat them here. ;; default flags, so repeat them here.