More python fallout, we need to specifically override PYTHONBIN and
ensure python2.7 is used during the build process, even though it is incompatible, because the scripts are not python3 compatible.
This commit is contained in:
parent
43456d0b56
commit
409fea8f0d
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.4 2017/06/28 15:56:22 jperkin Exp $
|
||||
# $NetBSD: options.mk,v 1.5 2017/06/29 19:37:26 jperkin Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.pluma
|
||||
PKG_SUPPORTED_OPTIONS= enchant
|
||||
|
@ -33,4 +33,8 @@ PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-gtk2, also via py-gtksourceview
|
|||
.include "../../x11/py-gtksourceview/buildlink3.mk"
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-python
|
||||
# XXX: Due to the mess described above, and the fact that python is required
|
||||
# by the build process but is not python3 compatible, we need to override and
|
||||
# use python2.7 explicitly.
|
||||
PYTHONBIN= ${LOCALBASE}/bin/python2.7
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue