gnu: Have MPFR and MPC propagate their input.

* gnu/packages/multiprecision.scm (mpfr): Change GMP to a propagated input.
  (mpc): Likewise for GMP and MPFR.
  Reported by Andreas Enge <andreas@enge.fr>.
This commit is contained in:
Ludovic Courtès 2013-02-05 22:36:48 +01:00
parent 10d1822b8e
commit a6ef51e378

View file

@ -82,7 +82,7 @@ (define-public mpfr
(sha256 (base32 (sha256 (base32
"0ym1ylcq803n52qrggxqmkz66gbn8ncc3ybawal31v5y5p1srma9")))) "0ym1ylcq803n52qrggxqmkz66gbn8ncc3ybawal31v5y5p1srma9"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("gmp" ,gmp))) (propagated-inputs `(("gmp" ,gmp))) ; <mpfr.h> refers to <gmp.h>
(synopsis "GNU MPFR, a library for multiple-precision floating-point (synopsis "GNU MPFR, a library for multiple-precision floating-point
arithmetic") arithmetic")
(description (description
@ -108,8 +108,8 @@ (define-public mpc
(sha256 (base32 (sha256 (base32
"1zq0fidp1jii2j5k5n9hmx55a6wwid33gjzhimvxq9d5zrf82npd")))) "1zq0fidp1jii2j5k5n9hmx55a6wwid33gjzhimvxq9d5zrf82npd"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("gmp" ,gmp) (propagated-inputs `(("gmp" ,gmp) ; <mpc.h> refers to both
("mpfr" ,mpfr))) ("mpfr" ,mpfr)))
(synopsis "GNU MPC, a library for multiprecision complex arithmetic (synopsis "GNU MPC, a library for multiprecision complex arithmetic
with exact rounding") with exact rounding")
(description (description