[Bug 196056] Wrong python interpreter set in Mk/Uses/shebangfix.mk

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 18 15:38:00 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196056

--- Comment #2 from Marcus von Appen <mva at FreeBSD.org> ---
Possible solution(s):

USES= python:2       sets python_CMD = ${LOCALBASE}/bin/python2
USES= python:3       sets python_CMD = ${LOCALBASE}/bin/python3

USES= python         sets python_CMD = ${PYTHON_CMD}
USES= python:X.Y+    sets python_CMD = ${PYTHON_CMD}
USES= python:-X.Y    sets python_CMD = ${PYTHON_CMD}
USES= python:X.Y-X.Y sets python_CMD = ${PYTHON_CMD}

Those are to be set in python.mk. python_OLD_CMD is still left to the port,
since this may be either /usr/bin/python* or /usr/bin/env python*

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list