Make lcov dependency on perl explicit (#39485)

This commit is contained in:
Julien Cortial 2023-08-24 03:05:00 +02:00 committed by GitHub
parent af38d097ac
commit 6a2149df6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,5 +20,12 @@ class Lcov(MakefilePackage):
version("1.15", sha256="c1cda2fa33bec9aa2c2c73c87226cfe97de0831887176b45ee523c5e30f8053a") version("1.15", sha256="c1cda2fa33bec9aa2c2c73c87226cfe97de0831887176b45ee523c5e30f8053a")
version("1.14", sha256="14995699187440e0ae4da57fe3a64adc0a3c5cf14feab971f8db38fb7d8f071a") version("1.14", sha256="14995699187440e0ae4da57fe3a64adc0a3c5cf14feab971f8db38fb7d8f071a")
depends_on("perl")
def install(self, spec, prefix): def install(self, spec, prefix):
make("DESTDIR=", "PREFIX=%s" % prefix, "install") make(
"LCOV_PERL_PATH=%s" % self.spec["perl"].command.path,
"DESTDIR=",
"PREFIX=%s" % prefix,
"install",
)