Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2018 18:39:24 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461831 - head/textproc/py-enchant
Message-ID:  <201802141839.w1EIdOMD051238@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802141839.w1EIdOMD051238>