Date: Tue, 29 Sep 2015 03:33:14 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 203093] lang/python35: PORTVERSION causes PYTHON_REL to contain non integer values, causing make errors Message-ID: <bug-203093-21822-THbafzVjev@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-203093-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-203093-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203093 --- Comment #5 from commit-hook@freebsd.org --- A commit references this bug: Author: koobs Date: Tue Sep 29 03:32:27 UTC 2015 New revision: 398153 URL: https://svnweb.freebsd.org/changeset/ports/398153 Log: MFH: r396885 Uses/python.mk: Fix PYTHON_REL for pre-release Python 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 (currently) want to achieve. PR: 203093 Reported by: Andrew Berg (aberg010 my.hennepintech.edu) Reviewed by: antoine Differential Revision: https://reviews.freebsd.org/D3662 Approved by: portmgr (feld) Changes: _U branches/2015Q3/ branches/2015Q3/Mk/Uses/python.mk -- You are receiving this mail because: You are on the CC list for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203093-21822-THbafzVjev>