aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2013-02-28 10:57:19 -0600
committerMisty De Meo2013-03-04 12:05:22 -0600
commitea6aa086ef96eb4450103f57636ce39ac87e269c (patch)
treedd7dc84de5e68102df64f6f393c395c8e3805a08 /Library
parent81307270ca706090dd45b8130a3fc8ec0cea1099 (diff)
downloadhomebrew-ea6aa086ef96eb4450103f57636ce39ac87e269c.tar.bz2
opencv: use stdenv to find python
Under superenv and with env :userpaths, the system python is always used.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/opencv.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/opencv.rb b/Library/Formula/opencv.rb
index 0d09f3ccc..6adc23ecf 100644
--- a/Library/Formula/opencv.rb
+++ b/Library/Formula/opencv.rb
@@ -13,6 +13,8 @@ class Opencv < Formula
url 'http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.4/OpenCV-2.4.4.tar.bz2'
sha1 '23c62f7e3de540524f61974c640a23df426ebed5'
+ env :std # to find python
+
option '32-bit'
option 'with-qt', 'Build the Qt4 backend to HighGUI'
option 'with-tbb', 'Enable parallel code in OpenCV using Intel TBB'