gnu: ocaml-4.02: Use INVOKE.
* gnu/packages/ocaml.scm (ocaml-4.02)[arguments]: Use INVOKE in build phases.
This commit is contained in:
parent
20fe9728c4
commit
bb29e855da
|
@ -191,19 +191,18 @@ patch-/bin/sh-references: ~a: changing `\"/bin/sh\"' to `~a'~%"
|
||||||
(mandir (string-append out "/share/man")))
|
(mandir (string-append out "/share/man")))
|
||||||
;; Custom configure script doesn't recognize
|
;; Custom configure script doesn't recognize
|
||||||
;; --prefix=<PREFIX> syntax (with equals sign).
|
;; --prefix=<PREFIX> syntax (with equals sign).
|
||||||
(zero? (system* "./configure"
|
(invoke "./configure"
|
||||||
"--prefix" out
|
"--prefix" out
|
||||||
"--mandir" mandir)))))
|
"--mandir" mandir))))
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero? (system* "make" "-j" (number->string
|
(invoke "make" "-j" (number->string (parallel-job-count))
|
||||||
(parallel-job-count))
|
"world.opt")))
|
||||||
"world.opt"))))
|
|
||||||
(delete 'check)
|
(delete 'check)
|
||||||
(add-after 'install 'check
|
(add-after 'install 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(with-directory-excursion "testsuite"
|
(with-directory-excursion "testsuite"
|
||||||
(zero? (system* "make" "all")))))
|
(invoke "make" "all"))))
|
||||||
(add-before 'check 'prepare-socket-test
|
(add-before 'check 'prepare-socket-test
|
||||||
(lambda _
|
(lambda _
|
||||||
(format (current-error-port)
|
(format (current-error-port)
|
||||||
|
|
Loading…
Reference in New Issue