Uses/python.mk: Fix PYTHON_REL for pre-release versions Modify the PYTHON_REL variable assignment in python.mk so that it can support PORTVERSION's that have non-integer suffixes such as the current lang/python35 version (PORTVERSION currently 3.5.0.r3). Currently, ports that use PYTHON_REL while DEFAULT_VERSIONS is set to 3.5, fail to build with the following make error: make: "/usr/ports/Mk/Uses/python.mk" line 503: warning: String comparison operator should be either == or != make: "/usr/ports/Mk/Uses/python.mk" line 503: Malformed conditional (${PYTHON_REL} >= 3200 && defined(_PYTHON_FEATURE_PY3KPLIST)) This is caused by a non-integer value ("r3") in PYTHON_REL. While I'm here, add a comment block to be clear on what we want (currently) to achieve. PR: 203093
Details
Details
- Reviewers
antoine - Group Reviewers
portmgr - Commits
- rP396885: Uses/python.mk: Fix PYTHON_REL for pre-release Python versions
- Checked PYTHON_REL value for all python versions 2.7 through 3.5 for correctness.
- Test py- ports with DEFAULT_VERSIONS=python=3.5 set
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 524 Build 524: arc lint + arc unit