aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-10-01 23:36:15 +0800
committerjbeich <jbeich@FreeBSD.org>2016-10-01 23:36:15 +0800
commitb8ff739f52decd80f50daa4aeda73fa509bb304d (patch)
tree9f75d199c34a6ffa61413c1a98806dab1a229243 /graphics
parent9e15498555ac33a88e961118bf238b7e20c4bbc6 (diff)
downloadfreebsd-ports-gnome-b8ff739f52decd80f50daa4aeda73fa509bb304d.tar.gz
freebsd-ports-gnome-b8ff739f52decd80f50daa4aeda73fa509bb304d.tar.zst
freebsd-ports-gnome-b8ff739f52decd80f50daa4aeda73fa509bb304d.zip
graphics/py-opencv: drop python3 vestige after r422698
PYTHON_REL is defined in bsd.port.pre.mk, so this unlikely to ever have worked unless defined via make.conf. Note, USES=python only supports overriding PYTHON_VERSION apart from DEFAULT_VERSIONS=python*. $ make -V PYTHON_VERSION PYTHON_REL=3500 python2.7 $ PYTHON_REL=3500 make -V PYTHON_REL 2712 $ make -V PYTHON_REL PYTHON_VERSION=python3.5 3502 PR: 204519 (for tracking)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/opencv/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index c2f45aba6be2..5db49762e8d7 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -201,13 +201,8 @@ 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} >= 3000
- cd ${WRKSRC}/samples/python && \
- ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/python
-. else
cd ${WRKSRC}/samples/python2 && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/python2
-. endif
.endif
.if defined(OCV_JAVA)
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}