Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2014 15:38:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 196056] Wrong python interpreter set in Mk/Uses/shebangfix.mk
Message-ID:  <bug-196056-21822-iftBux3oH7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196056-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196056-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=196056

--- Comment #2 from Marcus von Appen <mva@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196056-21822-iftBux3oH7>