Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
hardenedbsd-ports
Commits
7e45919b
Commit
7e45919b
authored
Dec 04, 2017
by
mat
Browse files
Correctly fix the Python 3 being the default but in fact not problem.
Sponsored by: Absolight
parent
d53c0ba3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Mk/Uses/python.mk
View file @
7e45919b
...
...
@@ -428,10 +428,10 @@ _ALL_PYTHON_FLAVORS= ${_PYTHON_VERSIONS:S/.//:S/^/py/}
.
if
defined(BUILD_ALL_PYTHON_FLAVORS)
||
defined(_PYTHON_FEATURE_ALLFLAVORS)
FLAVORS
=
${_ALL_PYTHON_FLAVORS}
.
else
.
for
_v
in
${PYTHON
3
_DEFAULT}
${PYTHON2_DEFAULT}
${PYTHON_DEFAULT}
.
for
_v
in
${PYTHON_DEFAULT}
${PYTHON2_DEFAULT}
${PYTHON
3
_DEFAULT}
_f
=
py
${
_v
:S/.//
}
. if ${_ALL_PYTHON_FLAVORS
:
M${_f}}
FLAVORS
:=
${_f}
${
FLAVORS
:N
${_f}
}
. if ${_ALL_PYTHON_FLAVORS
:
M${_f}}
&& !${FLAVORS:M${_f}}
FLAVORS
:=
${FLAVORS
}
${_f}
.
endif
.
endfor
.
endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment