summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2023-06-22 20:48:00 +0200
committerGitHub <noreply@github.com>2023-06-22 11:48:00 -0700
commit590d3ba6cfd0e005fb12c61e1a1e58e469704571 (patch)
tree51d135c18f935dda583673e7eb06e7f6ae233d58 /var
parent1e8988f11d5292b0e41c531d99c8cb1c42fa26d3 (diff)
downloadspack-590d3ba6cfd0e005fb12c61e1a1e58e469704571.tar.gz
spack-590d3ba6cfd0e005fb12c61e1a1e58e469704571.tar.bz2
spack-590d3ba6cfd0e005fb12c61e1a1e58e469704571.tar.xz
spack-590d3ba6cfd0e005fb12c61e1a1e58e469704571.zip
freefem: add missing dependencies (#38290)
Also remove the custom `autoreconf` method as it does not seem to be necessary and potentially hides useful output provided by the default.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/freefem/package.py16
1 files changed, 12 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/freefem/package.py b/var/spack/repos/builtin/packages/freefem/package.py
index 44bfefc10d..0f00f844cb 100644
--- a/var/spack/repos/builtin/packages/freefem/package.py
+++ b/var/spack/repos/builtin/packages/freefem/package.py
@@ -30,6 +30,18 @@ class Freefem(AutotoolsPackage):
variant("mpi", default=False, description="Activate MPI support")
variant("petsc", default=False, description="Compile with PETSc/SLEPc")
+ depends_on("autoconf", type="build")
+ depends_on("automake", type="build")
+ depends_on("libtool", type="build")
+
+ depends_on("bison", type="build")
+ depends_on("flex", type="build")
+ depends_on("m4", type="build")
+ # depends_on("patch", type="build")
+ # depends_on("unzip", type="build")
+
+ depends_on("netlib-lapack")
+
depends_on("mpi", when="+mpi")
depends_on("slepc", when="+petsc")
@@ -46,10 +58,6 @@ class Freefem(AutotoolsPackage):
sha256="be84f7b1b8182ff0151c258056a09bda70d72a611b0a4da1fa1954df2e0fe84e",
)
- def autoreconf(self, spec, prefix):
- autoreconf = which("autoreconf")
- autoreconf("-i")
-
def configure_args(self):
spec = self.spec
options = [