textproc/py-enchant: if py3 is chosen to build, the WX option is disabled

- this allows multimedia/py-openlp to build with python 3.x

PR:		211665
Submitted by:	antoine
This commit is contained in:
Kurt Jaeger 2018-02-14 18:39:24 +00:00
parent 946fc18614
commit 94dbb4e47a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461831

View File

@ -20,10 +20,12 @@ OPTIONS_DEFINE= WX
OPTIONS_DEFAULT=WX
WX_DESC= Provide a wxSpellCheckerDialog
OPTIONS_SUB= yes
.if ${FLAVOR:U:Mpy3*}
OPTIONS_EXCLUDE= WX
.endif
# Enable Python 3 only when Mk/bsd.wx.mk will support it
USES= python:2.7
USE_PYTHON= distutils
USES= python
USE_PYTHON= distutils py3kplist
NO_ARCH= yes
WX_USE= WX=3.0+