Changed other packages to fit new syntax
This commit is contained in:
		| @@ -103,7 +103,7 @@ def url_for_version(self, version): | |||||||
|             dots, underscores) |             dots, underscores) | ||||||
|  |  | ||||||
|     def determine_toolset(self, spec): |     def determine_toolset(self, spec): | ||||||
|         if spec.satisfies("=darwin-x86_64"): |         if spec.satisfies("arch=darwin-x86_64"): | ||||||
|             return 'darwin' |             return 'darwin' | ||||||
|  |  | ||||||
|         toolsets = {'g++': 'gcc', |         toolsets = {'g++': 'gcc', | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ class Libpciaccess(Package): | |||||||
|  |  | ||||||
|     def install(self, spec, prefix): |     def install(self, spec, prefix): | ||||||
|         # libpciaccess does not support OS X |         # libpciaccess does not support OS X | ||||||
|         if spec.satisfies('=darwin-x86_64'): |         if spec.satisfies('arch=darwin-x86_64'): | ||||||
|             # create a dummy directory |             # create a dummy directory | ||||||
|             mkdir(prefix.lib) |             mkdir(prefix.lib) | ||||||
|             return |             return | ||||||
|   | |||||||
| @@ -22,7 +22,7 @@ class Lua(Package): | |||||||
|     depends_on('readline') |     depends_on('readline') | ||||||
|  |  | ||||||
|     def install(self, spec, prefix): |     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' |             target = 'macosx' | ||||||
|         else: |         else: | ||||||
|             target = 'linux' |             target = 'linux' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Gregory Becker
					Gregory Becker