summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJulien Cortial <101571984+jcortial-safran@users.noreply.github.com>2023-08-24 03:05:00 +0200
committerGitHub <noreply@github.com>2023-08-24 03:05:00 +0200
commit6a2149df6e2679bccf0dcf3875d05f03ee5b4a51 (patch)
tree750e8cb14710eb1b4108797a0520c6579996b31d /var
parentaf38d097acc2cb6b6e02065958b811463b7cf038 (diff)
downloadspack-6a2149df6e2679bccf0dcf3875d05f03ee5b4a51.tar.gz
spack-6a2149df6e2679bccf0dcf3875d05f03ee5b4a51.tar.bz2
spack-6a2149df6e2679bccf0dcf3875d05f03ee5b4a51.tar.xz
spack-6a2149df6e2679bccf0dcf3875d05f03ee5b4a51.zip
Make lcov dependency on perl explicit (#39485)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/lcov/package.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/lcov/package.py b/var/spack/repos/builtin/packages/lcov/package.py
index 808601c108..dc7d3aa1b6 100644
--- a/var/spack/repos/builtin/packages/lcov/package.py
+++ b/var/spack/repos/builtin/packages/lcov/package.py
@@ -20,5 +20,12 @@ class Lcov(MakefilePackage):
version("1.15", sha256="c1cda2fa33bec9aa2c2c73c87226cfe97de0831887176b45ee523c5e30f8053a")
version("1.14", sha256="14995699187440e0ae4da57fe3a64adc0a3c5cf14feab971f8db38fb7d8f071a")
+ depends_on("perl")
+
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",
+ )