summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGeorge Zagaris <zagaris2@llnl.gov>2019-05-13 12:53:23 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-05-14 04:53:23 +0900
commita27f2978b901e354053fa0059b35f32e950e8ba1 (patch)
tree45f173e2ebb66a5541f3c659b6ec9bbce8f7d0c9 /var
parentf2834876700974c8332a5fa3ba2be6a42771d939 (diff)
downloadspack-a27f2978b901e354053fa0059b35f32e950e8ba1.tar.gz
spack-a27f2978b901e354053fa0059b35f32e950e8ba1.tar.bz2
spack-a27f2978b901e354053fa0059b35f32e950e8ba1.tar.xz
spack-a27f2978b901e354053fa0059b35f32e950e8ba1.zip
m4 package: fix OS version check (#11290)
f242f5f removed spec.architecture.platform_os, which was used to test an option in the 'm4' package. The attribute is now accessed as 'spec.architecture.os'.
Diffstat (limited to 'var')
-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 ad180b15a8..71ed3d1da4 100644
--- a/var/spack/repos/builtin/packages/m4/package.py
+++ b/var/spack/repos/builtin/packages/m4/package.py
@@ -51,7 +51,7 @@ class M4(AutotoolsPackage):
# http://lists.gnu.org/archive/html/bug-m4/2016-09/msg00002.html
arch = spec.architecture
- if (arch.platform == 'darwin' and arch.platform_os == 'sierra' and
+ if (arch.platform == 'darwin' and arch.os == 'sierra' and
'%gcc' in spec):
args.append('ac_cv_type_struct_sched_param=yes')