Commit 842bdac1 authored by jrm's avatar jrm
Browse files

Mk/Use/python.mk: Do not surround package list entries in quotes

When python package lists are generated by distutils, any file entry that
includes a space will be surrounded in double quotes.  This is unnecessary
and causes problems elsewhere such as when stripping ${PREFIX} for staging
or checking the package list in stage-qa.

PR:		248981
Approved by:	kevans, portmgr (mat), python (koobs)
Differential Revision:	https://reviews.freebsd.org/D26221
parent f15a24d6
......@@ -596,7 +596,8 @@ _RELLIBDIR= ${PYTHONPREFIX_LIBDIR:S;${PREFIX}/;;}
_USES_stage+= 934:add-plist-pymod
add-plist-pymod:
@${SED} -e 's|^${STAGEDIR}${PREFIX}/||' \
@${SED} -e 's|^"\(.*\)"$$|\1|' \
-e 's|^${STAGEDIR}${PREFIX}/||' \
-e 's|^${PREFIX}/||' \
-e 's|^\(man/.*man[0-9]\)/\(.*\.[0-9]\)$$|\1/\2.gz|' \
-e 's|^\(share/man/.*man[0-9]\)/\(.*\.[0-9]\)$$|\1/\2.gz|' \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment