aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2018-02-15 18:03:41 +0800
committerantoine <antoine@FreeBSD.org>2018-02-15 18:03:41 +0800
commit92425b351571c996bc170a612403db25c7d37620 (patch)
treebb4bd51eb8b16b0c0963292b2fc3e758f73a255d /graphics
parent334e9763cfff679e22db2b2daac7dd23445761d6 (diff)
downloadfreebsd-ports-gnome-92425b351571c996bc170a612403db25c7d37620.tar.gz
freebsd-ports-gnome-92425b351571c996bc170a612403db25c7d37620.tar.zst
freebsd-ports-gnome-92425b351571c996bc170a612403db25c7d37620.zip
opencv-java fails to build with python3
Diffstat (limited to 'graphics')
-rw-r--r--graphics/opencv/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index 0f5d50891ce3..865e134406a9 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -151,7 +151,7 @@ INSTALL_WRKSRC= ${WRKSRC}/modules/python
.elif defined(OCV_JAVA)
BUILD_DEPENDS+= ant:devel/apache-ant
LIB_DEPENDS+= libopencv_legacy.so:graphics/opencv
-USES+= python:build
+USES+= python:2.7,build
USE_JAVA= yes
CMAKE_ARGS+= -DBUILD_opencv_java:BOOL=On
. for module in apps python stitching superres videostab