aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/opencv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/opencv/Makefile')
-rw-r--r--graphics/opencv/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index 995dde35395b..68fda6504e77 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -262,7 +262,7 @@ post-install:
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S|${PREFIX}/||})
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-. if defined(PYTHON_REL) && ${PYTHON_REL} >= 300
+. if defined(PYTHON_REL) && ${PYTHON_REL} >= 3000
cd ${WRKSRC}/samples/python && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/python
. else