aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-27 21:53:14 -0700
committerAdam Vandenberg2012-08-27 21:53:14 -0700
commit4dc394990e9f45b7056c2507fbd3b2dabc81a21d (patch)
tree574c4e543e8d294dfb38f4e1d0021a10f822ffd1 /Library/Formula
parent3860b6632c66a4ca2c4644583fe037c14e56c354 (diff)
downloadhomebrew-4dc394990e9f45b7056c2507fbd3b2dabc81a21d.tar.bz2
opencv: use new dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/opencv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/opencv.rb b/Library/Formula/opencv.rb
index f5b00d2b3..ae07d8965 100644
--- a/Library/Formula/opencv.rb
+++ b/Library/Formula/opencv.rb
@@ -42,7 +42,7 @@ class Opencv < Formula
-DBUILD_TESTS=OFF
-DBUILD_PERF_TESTS=OFF
]
- if ARGV.build_32_bit?
+ if build.build_32_bit?
args << "-DCMAKE_OSX_ARCHITECTURES=i386"
args << "-DOPENCV_EXTRA_C_FLAGS='-arch i386 -m32'"
args << "-DOPENCV_EXTRA_CXX_FLAGS='-arch i386 -m32'"