Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 15:34:25 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547280 - head/Mk/Uses
Message-ID:  <202009011534.081FYPPQ007202@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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|' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009011534.081FYPPQ007202>