summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libx11/package.py
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-11-29 15:00:44 -0600
committerGitHub <noreply@github.com>2019-11-29 15:00:44 -0600
commitab98ef17659c413a2eede4106574400a6e4e0ec5 (patch)
tree4aa948e39792e56298057b794c2eee2158476b34 /var/spack/repos/builtin/packages/libx11/package.py
parent92ca63990505ba700cde99b2c5cfe80b880cbd8e (diff)
downloadspack-ab98ef17659c413a2eede4106574400a6e4e0ec5.tar.gz
spack-ab98ef17659c413a2eede4106574400a6e4e0ec5.tar.bz2
spack-ab98ef17659c413a2eede4106574400a6e4e0ec5.tar.xz
spack-ab98ef17659c413a2eede4106574400a6e4e0ec5.zip
Mass conversion of setup_(dependent_)?environment (#13924)
* Mass conversion of setup_(dependent_)?environment * prefix -> self.prefix
Diffstat (limited to 'var/spack/repos/builtin/packages/libx11/package.py')
-rw-r--r--var/spack/repos/builtin/packages/libx11/package.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/libx11/package.py b/var/spack/repos/builtin/packages/libx11/package.py
index 5c1a7f21f3..d88b5bab65 100644
--- a/var/spack/repos/builtin/packages/libx11/package.py
+++ b/var/spack/repos/builtin/packages/libx11/package.py
@@ -27,9 +27,11 @@ class Libx11(AutotoolsPackage):
depends_on('util-macros', type='build')
depends_on('perl', type='build')
- def setup_dependent_environment(self, spack_env, run_env, dependent_spec):
- spack_env.prepend_path('XLOCALEDIR', self.prefix.share.X11.locale)
- run_env.prepend_path('XLOCALEDIR', self.prefix.share.X11.locale)
+ def setup_dependent_build_environment(self, env, dependent_spec):
+ env.prepend_path('XLOCALEDIR', self.prefix.share.X11.locale)
+
+ def setup_dependent_run_environment(self, env, dependent_spec):
+ env.prepend_path('XLOCALEDIR', self.prefix.share.X11.locale)
@property
def libs(self):