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 @@ def install(self, spec, prefix): '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')