Date: Sun, 28 Dec 2014 22:21:35 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196340] New: Mk/Uses/python.mk : variable name PYTHON_VERSION in DEPENDS_ARGS is badly choosen, breaking autoconf based ports Message-ID: <bug-196340-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196340 Bug ID: 196340 Summary: Mk/Uses/python.mk : variable name PYTHON_VERSION in DEPENDS_ARGS is badly choosen, breaking autoconf based ports Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: antoine@FreeBSD.org CC: portmgr@FreeBSD.org In Mk/Uses/python.mk we have: DEPENDS_ARGS+= PYTHON_VERSION=${PYTHON_VERSION} where PYTHON_VERSION is python2.7 or python3.x But autoconf based ports use PYTHON_VERSION with a different meaning: [ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[[:3]])" 2>/dev/null`; AC_SUBST( [PYTHON_VERSION], [$ax_prog_python_version]) so there, PYTHON_VERSION is 2.7 or 3.x This commit workarounded for devel/py*-gobject3 but other ports are likely affected: https://svnweb.freebsd.org/changeset/ports/374402 -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196340-13>