gmake: add empty libs property, remove link deptypes from dependents (#48995)

This commit is contained in:
Tara Drwenski 2025-02-12 02:16:30 -07:00 committed by GitHub
parent af89bdf632
commit 76e83e10c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 5 deletions

View File

@ -125,9 +125,9 @@ class Cmake(Package):
patch("mr-9623.patch", when="@3.22.0:3.30") patch("mr-9623.patch", when="@3.22.0:3.30")
depends_on("ninja", when="platform=windows") depends_on("ninja", when="platform=windows")
depends_on("gmake", when="platform=linux") depends_on("gmake", type=("build", "run"), when="platform=linux")
depends_on("gmake", when="platform=darwin") depends_on("gmake", type=("build", "run"), when="platform=darwin")
depends_on("gmake", when="platform=freebsd") depends_on("gmake", type=("build", "run"), when="platform=freebsd")
depends_on("qt", when="+qtgui") depends_on("qt", when="+qtgui")
# Qt depends on libmng, which is a CMake package; # Qt depends on libmng, which is a CMake package;

View File

@ -99,3 +99,7 @@ def setup_dependent_package(self, module, dspec):
self.spec.prefix.bin.make, self.spec.prefix.bin.make,
jobs=determine_number_of_jobs(parallel=dspec.package.parallel), jobs=determine_number_of_jobs(parallel=dspec.package.parallel),
) )
@property
def libs(self):
return []

View File

@ -335,8 +335,7 @@ def check_fortran_compiler(self):
patch("revert-3.18.0-ver-format-for-dealii.patch", when="@3.18.0") patch("revert-3.18.0-ver-format-for-dealii.patch", when="@3.18.0")
depends_on("diffutils", type="build") depends_on("diffutils", type="build")
# not listed as a "build" dependency - so that slepc build gets the same dependency depends_on("gmake", type="build")
depends_on("gmake")
# Virtual dependencies # Virtual dependencies
# Git repository needs sowing to build Fortran interface # Git repository needs sowing to build Fortran interface