[Bug 235901] Mk/Uses/python.mk should complain if there are unknown components in USE_PYTHON
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 20 23:05:54 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235901
Bug ID: 235901
Summary: Mk/Uses/python.mk should complain if there are unknown
components in USE_PYTHON
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Ports Framework
Assignee: python at FreeBSD.org
Reporter: tobik at freebsd.org
CC: ports-bugs at FreeBSD.org
USES=python should complain if there are unknown components in
USE_PYTHON. At the moment everything is just silently accepted.
For example
USE_PYTHON= autoplist distutlls
is accepted, but it should be an error (distutlls should be distutils here)
since it doesn't really do anything
There is only a finite list of acceptable keywords for USE_PYTHON,
so it should be possible to check this and refuse the build if there
are unknown keywords in it.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-python
mailing list