Require python version 2, because it dumps core with python3:

# collectd -f
Fatal Python error: no mem for sys.argv
ValueError: character U+6f633c00 is not in range [U+0000; U+10ffff]
Abort (core dumped)

Approved by:	maintainer
This commit is contained in:
Dmitry Sivachenko 2015-01-12 21:03:23 +00:00
parent 60a1360a2f
commit fb3113ed78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376888

View File

@ -317,7 +317,7 @@ PLIST_SUB+= PING="@comment "
.endif
.if ${PORT_OPTIONS:MPYTHON}
USES+= python
USES+= python:2
CONFIGURE_ARGS+=--with-python=${PYTHON_CMD} --enable-python
PLIST_SUB+= PYTHON=""
.else