[Bug 196340] New: Mk/Uses/python.mk : variable name PYTHON_VERSION in DEPENDS_ARGS is badly choosen, breaking autoconf based ports
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 28 22:21:35 UTC 2014
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 at FreeBSD.org
Reporter: antoine at FreeBSD.org
CC: portmgr at 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.
More information about the freebsd-ports-bugs
mailing list