aboutsummaryrefslogtreecommitdiff
path: root/graphics/caffe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/caffe/Makefile')
-rw-r--r--graphics/caffe/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/caffe/Makefile b/graphics/caffe/Makefile
index 6c398dbeff69..dbfb7298cb99 100644
--- a/graphics/caffe/Makefile
+++ b/graphics/caffe/Makefile
@@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS_INSTALL= caffe2-*
BUILD_DEPENDS= ${PYNUMPY} \
- ${LOCALBASE}/bin/cython:lang/cython \
${LOCALBASE}/include/cblas.h:math/cblas \
bash:shells/bash
LIB_DEPENDS= libsnappy.so:archivers/snappy \
@@ -30,15 +29,16 @@ LIB_DEPENDS= libsnappy.so:archivers/snappy \
libopenblas.so:math/openblas \
libhdf5.so:science/hdf5
RUN_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}protobuf>=2.5.0:devel/py-protobuf \
- ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.12:graphics/py-scikit-image \
- ${PYTHON_PKGNAMEPREFIX}pillow>=1.7:graphics/py-pillow \
- ${PYTHON_PKGNAMEPREFIX}networkx>=1.8:math/py-networkx \
- ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.1:math/py-matplotlib \
- ${PYTHON_PKGNAMEPREFIX}PyWavelets>=0.4:math/py-PyWavelets
+ ${PYTHON_PKGNAMEPREFIX}protobuf>=2.5.0:devel/py-protobuf@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.12:graphics/py-scikit-image@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pillow>=1.7:graphics/py-pillow@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}networkx>=1.8:math/py-networkx@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.1:math/py-matplotlib@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}PyWavelets>=0.4:math/py-PyWavelets@${FLAVOR}
USE_LDCONFIG= yes
-USES= gmake python fortran compiler:c++11-lib pkgconfig
+USES= gmake python:2.7 fortran compiler:c++11-lib pkgconfig
+USE_PYTHON= flavors cython
CXXFLAGS+= -DGTEST_USE_OWN_TR1_TUPLE=1
LDFLAGS+= -DGTEST_USE_OWN_TR1_TUPLE=1