eospac: avoid conflict with linux's getopt (#13241)

* eospac: avoid conflict with linux's getopt

* Update package.py
This commit is contained in:
Christoph Junghans 2019-10-16 18:46:26 -07:00 committed by GitHub
parent e65b7f8ebf
commit 6cd997e743
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')