summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Lee <lee218@llnl.gov>2021-06-24 17:35:26 -0700
committerGitHub <noreply@github.com>2021-06-24 17:35:26 -0700
commit7dafc827a7e87eccc5882251cf64662257b24b4f (patch)
tree25d04eb6ecdad1807d109bcd3af5605cdfcc49ac
parent26f740b25a2d8a5fcddc67f5a0d1dc18ce2c132b (diff)
downloadspack-7dafc827a7e87eccc5882251cf64662257b24b4f.tar.gz
spack-7dafc827a7e87eccc5882251cf64662257b24b4f.tar.bz2
spack-7dafc827a7e87eccc5882251cf64662257b24b4f.tar.xz
spack-7dafc827a7e87eccc5882251cf64662257b24b4f.zip
only apply onapi patch to m4 for v1.4.18 (#24490)
-rw-r--r--var/spack/repos/builtin/packages/m4/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/m4/package.py b/var/spack/repos/builtin/packages/m4/package.py
index 57d703679c..f9766c307a 100644
--- a/var/spack/repos/builtin/packages/m4/package.py
+++ b/var/spack/repos/builtin/packages/m4/package.py
@@ -19,7 +19,7 @@ class M4(AutotoolsPackage, GNUMirrorPackage):
patch('gnulib-pgi.patch', when='@1.4.18')
patch('pgi.patch', when='@1.4.17')
patch('nvhpc.patch', when='%nvhpc')
- patch('oneapi.patch', when='%oneapi')
+ patch('oneapi.patch', when='@1.4.18 %oneapi')
# from: https://github.com/Homebrew/homebrew-core/blob/master/Formula/m4.rb
# Patch credit to Jeremy Huddleston Sequoia <jeremyhu@apple.com>
patch('secure_snprintf.patch', when='@:1.4.18 os=highsierra')