svn commit: r547280 - head/Mk/Uses

Joseph Mingrone jrm at FreeBSD.org
Tue Sep 1 15:34:25 UTC 2020


Author: jrm
Date: Tue Sep  1 15:34:25 2020
New Revision: 547280
URL: https://svnweb.freebsd.org/changeset/ports/547280

Log:
  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

Modified:
  head/Mk/Uses/python.mk

Modified: head/Mk/Uses/python.mk
==============================================================================
--- head/Mk/Uses/python.mk	Tue Sep  1 15:20:56 2020	(r547279)
+++ head/Mk/Uses/python.mk	Tue Sep  1 15:34:25 2020	(r547280)
@@ -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|' \


More information about the svn-ports-all mailing list