gnu: camlp5: Return #t from all phases.

* gnu/packages/ocaml.scm (camlp5)[arguments]: Use invoke instead of system*,
and return #t from all phases.
This commit is contained in:
Mark H Weaver 2018-04-12 03:33:26 -04:00
parent 372947725a
commit 402dedf883
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 8 additions and 7 deletions

View File

@ -399,19 +399,20 @@ syntax of OCaml.")
(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")))
;; Required for findlib to find camlp5's libraries ;; Required for findlib to find camlp5's libraries
(add-after 'install 'install-meta (add-after 'install 'install-meta
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(install-file "etc/META" (string-append (assoc-ref outputs "out") (install-file "etc/META" (string-append (assoc-ref outputs "out")
"/lib/ocaml/camlp5/"))))))) "/lib/ocaml/camlp5/"))
#t)))))
(home-page "http://camlp5.gforge.inria.fr/") (home-page "http://camlp5.gforge.inria.fr/")
(synopsis "Pre-processor Pretty Printer for OCaml") (synopsis "Pre-processor Pretty Printer for OCaml")
(description (description