summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2024-11-19 15:19:08 +0100
committerGitHub <noreply@github.com>2024-11-19 15:19:08 +0100
commit2db99e1ff6b8855075e33aecb4e502b14dbd5052 (patch)
treec11743d0e944ce096652597079cc4857a8e442dd /var
parent68aa712a3e51b2fb8596ba245dd440739be205c5 (diff)
downloadspack-2db99e1ff6b8855075e33aecb4e502b14dbd5052.tar.gz
spack-2db99e1ff6b8855075e33aecb4e502b14dbd5052.tar.bz2
spack-2db99e1ff6b8855075e33aecb4e502b14dbd5052.tar.xz
spack-2db99e1ff6b8855075e33aecb4e502b14dbd5052.zip
gmp: fix cxx dependency, remove dependency on fortran (#47671)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gmp/package.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/gmp/package.py b/var/spack/repos/builtin/packages/gmp/package.py
index df7a05e381..ae3618d695 100644
--- a/var/spack/repos/builtin/packages/gmp/package.py
+++ b/var/spack/repos/builtin/packages/gmp/package.py
@@ -26,9 +26,8 @@ class Gmp(AutotoolsPackage, GNUMirrorPackage):
# Old version needed for a binary package in ghc-bootstrap
version("4.3.2", sha256="936162c0312886c21581002b79932829aa048cfaf9937c6265aeaa14f1cd1775")
- depends_on("c", type="build") # generated
- depends_on("cxx", type="build") # generated
- depends_on("fortran", type="build") # generated
+ depends_on("c", type="build")
+ depends_on("cxx", type="build", when="+cxx")
depends_on("autoconf", type="build")
depends_on("automake", type="build")