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
41c299ef
Commit
41c299ef
authored
Apr 25, 2019
by
antoine
Browse files
Remove PYTHON_PYOEXTENSION from plist substitutions
With hat: portmgr
parent
7a3f405d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Mk/Uses/python.mk
View file @
41c299ef
...
...
@@ -215,7 +215,6 @@
# PYTHON_INCLUDEDIR=${PYTHONPREFIX_INCLUDEDIR:S;${PREFIX}/;;}
# PYTHON_LIBDIR=${PYTHONPREFIX_LIBDIR:S;${PREFIX}/;;}
# PYTHON_PLATFORM=${PYTHON_PLATFORM}
# PYTHON_PYOEXTENSION=${PYTHON_PYOEXTENSION}
# PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}
# PYTHON_SUFFIX=${PYTHON_SUFFIX}
# PYTHON_VER=${PYTHON_VER}
...
...
@@ -641,7 +640,7 @@ add-plist-python:
/^@dirrmtry / {d = substr($$0, 11); if (d in dirs) {print $$0 "/" pc}; print $$0; next} \
{print} \
'
\
pc
=
"__pycache__"
mt
=
"
$$
(
${PYMAGICTAG}
)"
pyo
=
"
${PYTHON_PYOEXTENSION}
"
\
pc
=
"__pycache__"
mt
=
"
$$
(
${PYMAGICTAG}
)"
pyo
=
"
opt-1.pyc
"
\
${TMPPLIST}
>
${TMPPLIST}
.pyc_tmp
@
${MV}
${TMPPLIST}
.pyc_tmp
${TMPPLIST}
.
endif
# ${PYTHON_REL} >= 3200 && defined(_PYTHON_FEATURE_PY3KPLIST)
...
...
@@ -703,7 +702,6 @@ PREFIX= ${PYTHONBASE}
PLIST_SUB
+=
PYTHON_INCLUDEDIR
=
${
PYTHONPREFIX_INCLUDEDIR
:S
;
${PREFIX}
/;;
}
\
PYTHON_LIBDIR
=
${
PYTHONPREFIX_LIBDIR
:S
;
${PREFIX}
/;;
}
\
PYTHON_PLATFORM
=
${PYTHON_PLATFORM}
\
PYTHON_PYOEXTENSION
=
${PYTHON_PYOEXTENSION}
\
PYTHON_SITELIBDIR
=
${
PYTHONPREFIX_SITELIBDIR
:S
;
${PREFIX}
/;;
}
\
PYTHON_SUFFIX
=
${PYTHON_SUFFIX}
\
PYTHON_VER
=
${PYTHON_VER}
\
...
...
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