summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Cessenat <cessenat@gmail.com>2021-06-09 09:46:21 +0200
committerGitHub <noreply@github.com>2021-06-09 09:46:21 +0200
commit8f34a665028cfd53b0a6fb1b19fe263a29584e8b (patch)
treee99549d169a786b7c2b51561d3072bd942a6d3f4
parent7499212bc1701aed8109ebd882f4ff804300748e (diff)
downloadspack-8f34a665028cfd53b0a6fb1b19fe263a29584e8b.tar.gz
spack-8f34a665028cfd53b0a6fb1b19fe263a29584e8b.tar.bz2
spack-8f34a665028cfd53b0a6fb1b19fe263a29584e8b.tar.xz
spack-8f34a665028cfd53b0a6fb1b19fe263a29584e8b.zip
texlive: setup dependent build environment (#24102)
-rw-r--r--var/spack/repos/builtin/packages/texlive/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/texlive/package.py b/var/spack/repos/builtin/packages/texlive/package.py
index 4601588f25..0fa010e9c0 100644
--- a/var/spack/repos/builtin/packages/texlive/package.py
+++ b/var/spack/repos/builtin/packages/texlive/package.py
@@ -186,6 +186,9 @@ class Texlive(AutotoolsPackage):
def setup_run_environment(self, env):
env.prepend_path('PATH', join_path(self.prefix.bin, self.tex_arch()))
+ def setup_dependent_build_environment(self, env, dependent_spec):
+ self.setup_run_environment(env)
+
@when('@live')
def autoreconf(self, spec, prefix):
touch('configure')