OSX Mavericks Compile Issue

For reference, the error for opencv (I have the homebrew version):

Importing code library: panda3d.direct
Found extensions for class: CInterval
Importing code library: panda3d.vision
Traceback (most recent call last):
File “built/direct/ffi/jGenPyCode.py”, line 94, in
DoGenPyCode.run()
File “/Users/joepease/Downloads/panda3d_2/built/direct/ffi/DoGenPyCode.py”, line 328, in run
generateNativeWrappers()
File “/Users/joepease/Downloads/panda3d_2/built/direct/ffi/DoGenPyCode.py”, line 260, in generateNativeWrappers
import(moduleName)
ImportError: dlopen(/Users/joepease/Downloads/panda3d_2/built/panda3d/vision.so, 2): Symbol not found: _cvCreateCameraCapture
Referenced from: /Users/joepease/Downloads/panda3d_2/built/lib/libp3vision.1.9.dylib
Expected in: flat namespace
in /Users/joepease/Downloads/panda3d_2/built/lib/libp3vision.1.9.dylib
Storing dependency cache.
Elapsed Time: 43 min 34 sec
The following command returned a non-zero value: /usr/local/opt/python/bin/python2.7 -B built/direct/ffi/jGenPyCode.py -r panda3d.core panda3d.physics panda3d.fx panda3d.direct panda3d.vision panda3d.skel panda3d.egg
Build terminated.

And the command I used to compile panda3d:
CFLAGS=-ftemplate-depth=120 python makepanda/makepanda.py --everything --no-opencv