[Bug 219804] textproc/py-enchant: Make wxPython OPTIONAL
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 5 18:14:58 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219804
Bug ID: 219804
Summary: textproc/py-enchant: Make wxPython OPTIONAL
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: thierry at FreeBSD.org
Reporter: pete at nomadlogic.org
Assignee: thierry at FreeBSD.org
Flags: maintainer-feedback?(thierry at FreeBSD.org)
Hi there,
I use textprox/py-enchant for a web application. Specifically we use
py-enchant to act as a spell checker inside ckeditor for some webforms in our
app. The current py-enchant port has a USE_* dependency on wxPython. This
pulls in a pretty large dependency tree (totaling around 1GB of packages - most
of which are related to X and graphics libraries) which we do not need or
really want on our web app nodes.
In my environment I have verified that I can build the port without the
following lines and things works as expected:
$ diff -u Makefile Makefile.wip
--- Makefile 2017-06-05 18:11:25.603805000 +0000
+++ Makefile.wip 2017-06-05 18:12:04.288514000 +0000
@@ -18,8 +18,6 @@
USES= python
USE_PYTHON= distutils
-USE_WX= 3.0+
-WX_COMPS= python:run
LDFLAGS+= -L${LOCALBASE}/lib
Would it be a better long-term solution to define USE_WX as an optional flag
that users can override?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list