aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/opencv
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-05-27 00:47:02 +0800
committerantoine <antoine@FreeBSD.org>2015-05-27 00:47:02 +0800
commitc876321e566d337f0d65aec1ba5f13416139fb1e (patch)
tree7229e877adf880a70b7dabb3af7fa6c66661b721 /graphics/opencv
parent2eed36e21821defba5b99dd6a0eab524d1f0a58a (diff)
downloadfreebsd-ports-gnome-c876321e566d337f0d65aec1ba5f13416139fb1e.tar.gz
freebsd-ports-gnome-c876321e566d337f0d65aec1ba5f13416139fb1e.tar.zst
freebsd-ports-gnome-c876321e566d337f0d65aec1ba5f13416139fb1e.zip
Switch PYTHON_REL from a 3 digits number to a 4 digits number to handle
python 2.7.10 Differential Revision: https://reviews.freebsd.org/D2639 Reviewed by: sunpoet, mva
Diffstat (limited to 'graphics/opencv')
-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