summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@lanl.gov>2019-10-16 18:46:26 -0700
committerGitHub <noreply@github.com>2019-10-16 18:46:26 -0700
commit6cd997e74379a2dd8719748095bd13a26dfbf74f (patch)
tree812c6a442c03cd45a11e7991eaedd92e2f6f144e /var
parente65b7f8ebfe62feb95205e5fc4da559e4eabe88d (diff)
downloadspack-6cd997e74379a2dd8719748095bd13a26dfbf74f.tar.gz
spack-6cd997e74379a2dd8719748095bd13a26dfbf74f.tar.bz2
spack-6cd997e74379a2dd8719748095bd13a26dfbf74f.tar.xz
spack-6cd997e74379a2dd8719748095bd13a26dfbf74f.zip
eospac: avoid conflict with linux's getopt (#13241)
* eospac: avoid conflict with linux's getopt * Update package.py
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/eospac/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/eospac/package.py b/var/spack/repos/builtin/packages/eospac/package.py
index 4399ef6039..1ee01f6f21 100644
--- a/var/spack/repos/builtin/packages/eospac/package.py
+++ b/var/spack/repos/builtin/packages/eospac/package.py
@@ -43,3 +43,8 @@ class Eospac(Package):
'INSTALLED_INCLUDE_DIR={0}'.format(prefix.include),
'INSTALLED_EXAMPLE_DIR={0}'.format(prefix.example),
'INSTALLED_BIN_DIR={0}'.format(prefix.bin))
+
+ # fix conflict with linux's getopt for 6.4.0beta.2
+ if spec.satisfies('@6.4.0beta.2'):
+ with working_dir(prefix.bin):
+ move('getopt', 'driver_getopt')