From 6cd997e74379a2dd8719748095bd13a26dfbf74f Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Wed, 16 Oct 2019 18:46:26 -0700 Subject: eospac: avoid conflict with linux's getopt (#13241) * eospac: avoid conflict with linux's getopt * Update package.py --- var/spack/repos/builtin/packages/eospac/package.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'var') 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') -- cgit v1.2.3-70-g09d2