summary refs log tree commit diff
path: root/gnu/packages/multiprecision.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-02-05 22:36:48 +0100
committerLudovic Courtès <ludo@gnu.org>2013-02-05 23:51:44 +0100
commita6ef51e378a0cc93043211954352be81d850a89f (patch)
tree87bb8716d081ba4bdac2b5662e4aebbb568eda69 /gnu/packages/multiprecision.scm
parent10d1822b8e9ab2daba6ad38b4ef38454cfe86f89 (diff)
downloadguix-a6ef51e378a0cc93043211954352be81d850a89f.tar.gz
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>.
Diffstat (limited to 'gnu/packages/multiprecision.scm')
-rw-r--r--gnu/packages/multiprecision.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm
index 1d74dadef0..407604c6b1 100644
--- a/gnu/packages/multiprecision.scm
+++ b/gnu/packages/multiprecision.scm
@@ -82,7 +82,7 @@ faster algorithms.")
             (sha256 (base32
                      "0ym1ylcq803n52qrggxqmkz66gbn8ncc3ybawal31v5y5p1srma9"))))
    (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
 arithmetic")
    (description
@@ -108,8 +108,8 @@ double-precision floating-point arithmetic (53-bit mantissa).")
             (sha256 (base32
                      "1zq0fidp1jii2j5k5n9hmx55a6wwid33gjzhimvxq9d5zrf82npd"))))
    (build-system gnu-build-system)
-   (inputs `(("gmp" ,gmp)
-             ("mpfr" ,mpfr)))
+   (propagated-inputs `(("gmp" ,gmp)              ; <mpc.h> refers to both
+                        ("mpfr" ,mpfr)))
    (synopsis "GNU MPC, a library for multiprecision complex arithmetic
 with exact rounding")
    (description