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.
This commit is contained in:
parent
1e8988f11d
commit
590d3ba6cf
1 changed files with 12 additions and 4 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue