zstd: fix makefile build, default to makefile (#36606)

This commit is contained in:
Harmen Stoppels
2023-04-03 14:50:38 +02:00
committed by GitHub
parent 93cad90413
commit a19f13f57a

View File

@@ -60,7 +60,7 @@ class Zstd(CMakePackage, MakefilePackage):
# (last tested: nvhpc@22.3)
conflicts("+programs %nvhpc")
build_system("cmake", "makefile", default="cmake")
build_system("cmake", "makefile", default="makefile")
class CMakeBuilder(CMakeBuilder):
@@ -88,10 +88,10 @@ def cmake_args(self):
class MakefileBuilder(MakefileBuilder):
def build(self, spec, prefix):
def build(self, pkg, spec, prefix):
pass
def install(self, spec, prefix):
def install(self, pkg, spec, prefix):
args = ["VERBOSE=1", "PREFIX=" + prefix]
# Tested %nvhpc@22.3. No support for -MP