diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/dicom3tools/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dicom3tools/package.py b/var/spack/repos/builtin/packages/dicom3tools/package.py index 4a441d43a4..2086088650 100644 --- a/var/spack/repos/builtin/packages/dicom3tools/package.py +++ b/var/spack/repos/builtin/packages/dicom3tools/package.py @@ -52,6 +52,14 @@ class Dicom3tools(MakefilePackage): configure = Executable(join_path('.', 'Configure')) configure() + if spec.satisfies('%fj'): + filter_file('#define UseStandardHeadersWithoutExtension 0', + '#define UseStandardHeadersWithoutExtension 1', + 'config/generic.cf') + filter_file('#define EmitUsingStdNameSpace 0', + '#define EmitUsingStdNameSpace 1', + 'config/generic.cf') + imake = which('imake') imake('-I./config', '-DDefaultUIDRoot={0}'.format(uid_root)) make('World') |