aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2018-02-15 02:39:24 +0800
committerpi <pi@FreeBSD.org>2018-02-15 02:39:24 +0800
commit95ff3f570e4e7f0dce42ffaf23a2c9c3c7918bc0 (patch)
treec29bd1db3218bcc43915d42165f2c7f84fae2e95 /textproc
parentbb2798a78e1486231c2a2ce2067af8df92f36b6b (diff)
downloadfreebsd-ports-gnome-95ff3f570e4e7f0dce42ffaf23a2c9c3c7918bc0.tar.gz
freebsd-ports-gnome-95ff3f570e4e7f0dce42ffaf23a2c9c3c7918bc0.tar.zst
freebsd-ports-gnome-95ff3f570e4e7f0dce42ffaf23a2c9c3c7918bc0.zip
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
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-enchant/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/py-enchant/Makefile b/textproc/py-enchant/Makefile
index 9f8202abc698..6b5b26b99c42 100644
--- a/textproc/py-enchant/Makefile
+++ b/textproc/py-enchant/Makefile
@@ -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+