svn commit: r461831 - head/textproc/py-enchant

Kurt Jaeger pi at FreeBSD.org
Wed Feb 14 18:39:25 UTC 2018


Author: pi
Date: Wed Feb 14 18:39:24 2018
New Revision: 461831
URL: https://svnweb.freebsd.org/changeset/ports/461831

Log:
  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

Modified:
  head/textproc/py-enchant/Makefile

Modified: head/textproc/py-enchant/Makefile
==============================================================================
--- head/textproc/py-enchant/Makefile	Wed Feb 14 18:34:32 2018	(r461830)
+++ head/textproc/py-enchant/Makefile	Wed Feb 14 18:39:24 2018	(r461831)
@@ -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+


More information about the svn-ports-head mailing list