gnu: boost: Simplify phases.

* gnu/packages/boost.scm (boost)[arguments]: Remove unneeded '#t's from
'configure', 'build', and 'install' phases.
This commit is contained in:
Mark H Weaver 2018-03-17 23:08:07 -04:00
parent 81f6bf2d50
commit 196fb12cb8
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -92,18 +92,15 @@ (define-public boost
(invoke "./bootstrap.sh" (invoke "./bootstrap.sh"
(string-append "--prefix=" out) (string-append "--prefix=" out)
"--with-toolset=gcc") "--with-toolset=gcc"))))
#t)))
(replace 'build (replace 'build
(lambda* (#:key outputs make-flags #:allow-other-keys) (lambda* (#:key make-flags #:allow-other-keys)
(apply invoke "./b2" (apply invoke "./b2"
(format #f "-j~a" (parallel-job-count)) (format #f "-j~a" (parallel-job-count))
make-flags) make-flags)))
#t))
(replace 'install (replace 'install
(lambda* (#:key outputs make-flags #:allow-other-keys) (lambda* (#:key make-flags #:allow-other-keys)
(apply invoke "./b2" "install" make-flags) (apply invoke "./b2" "install" make-flags))))))
#t)))))
(home-page "http://www.boost.org") (home-page "http://www.boost.org")
(synopsis "Peer-reviewed portable C++ source libraries") (synopsis "Peer-reviewed portable C++ source libraries")