diff options
-rw-r--r-- | var/spack/repos/builtin/packages/ffb/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ffb/package.py b/var/spack/repos/builtin/packages/ffb/package.py index e7c1272a13..d9de2b9862 100644 --- a/var/spack/repos/builtin/packages/ffb/package.py +++ b/var/spack/repos/builtin/packages/ffb/package.py @@ -107,6 +107,10 @@ class Ffb(MakefilePackage): m.filter(r'-lmpi_f77', '') os.chmod(makeall, 0o755) + editfile = join_path('lib', 'src', 'Makeall') + m = FileFilter(editfile) + m.filter(r'x86_64-linux', '{0}-linux'.format(spec.target.family)) + editfile = join_path('lib', 'src', 'REVOCAP_Refiner-0.4.3', 'OPTIONS') m = FileFilter(editfile) m.filter(r'ARCH\s*=.*$', 'ARCH= $(shell arch)-linux') |