Changed other packages to fit new syntax

This commit is contained in:
Gregory Becker 2016-05-05 15:40:22 -07:00
parent d45b2c7947
commit 44f089508b
3 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ def url_for_version(self, version):
dots, underscores)
def determine_toolset(self, spec):
if spec.satisfies("=darwin-x86_64"):
if spec.satisfies("arch=darwin-x86_64"):
return 'darwin'
toolsets = {'g++': 'gcc',

View File

@ -13,7 +13,7 @@ class Libpciaccess(Package):
def install(self, spec, prefix):
# libpciaccess does not support OS X
if spec.satisfies('=darwin-x86_64'):
if spec.satisfies('arch=darwin-x86_64'):
# create a dummy directory
mkdir(prefix.lib)
return

View File

@ -22,7 +22,7 @@ class Lua(Package):
depends_on('readline')
def install(self, spec, prefix):
if spec.satisfies("=darwin-i686") or spec.satisfies("=darwin-x86_64"):
if spec.satisfies("arch=darwin-i686") or spec.satisfies("arch=darwin-x86_64"):
target = 'macosx'
else:
target = 'linux'