svn commit: r540387 - head/Mk

Mathieu Arnold mat at FreeBSD.org
Thu Jun 25 12:37:30 UTC 2020


Author: mat
Date: Thu Jun 25 12:37:30 2020
New Revision: 540387
URL: https://svnweb.freebsd.org/changeset/ports/540387

Log:
  A PLIST file is supposed to be self contained, reset owner/group/mode
  after each.
  
  Differential Revision:	https://reviews.freebsd.org/D25295

Modified:
  head/Mk/bsd.port.mk   (contents, props changed)

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Thu Jun 25 12:37:26 2020	(r540386)
+++ head/Mk/bsd.port.mk	Thu Jun 25 12:37:30 2020	(r540387)
@@ -4502,6 +4502,7 @@ generate-plist: ${WRKDIR}
 .for f in ${PLIST}
 	@if [ -f "${f}" ]; then \
 		${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${f} >> ${TMPPLIST}; \
+		for i in owner group mode; do ${ECHO_CMD} "@$$i"; done >> ${TMPPLIST}; \
 	fi
 .endfor
 .endif


More information about the svn-ports-all mailing list