aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/p7zip.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/p7zip.rb b/Library/Formula/p7zip.rb
index 05e2171ef..30d886d2d 100644
--- a/Library/Formula/p7zip.rb
+++ b/Library/Formula/p7zip.rb
@@ -5,12 +5,10 @@ class P7zip < Formula
homepage 'http://p7zip.sourceforge.net/'
md5 'bd6caaea567dc0d995c990c5cc883c89'
- def options
- [["--32-bit", "Build 32-bit only."]]
- end
+ option '32-bit'
def install
- if Hardware.is_32_bit? or ARGV.build_32_bit?
+ if Hardware.is_32_bit? or build.build_32_bit?
mv 'makefile.macosx_32bits', 'makefile.machine'
else
mv 'makefile.macosx_64bits', 'makefile.machine'