svn commit: r354278 - head/Mk

Dag-Erling Smørgrav des at FreeBSD.org
Sat May 17 03:25:38 UTC 2014


Author: des
Date: Sat May 17 03:25:37 2014
New Revision: 354278
URL: http://svnweb.freebsd.org/changeset/ports/354278
QAT: https://qat.redports.org/buildarchive/r354278/

Log:
  Fix quoting: make is too smart and quotes tildes, which trips up pkg.
  
  Approved by:	portmgr (bapt)

Modified:
  head/Mk/bsd.pkgng.mk

Modified: head/Mk/bsd.pkgng.mk
==============================================================================
--- head/Mk/bsd.pkgng.mk	Sat May 17 03:13:56 2014	(r354277)
+++ head/Mk/bsd.pkgng.mk	Sat May 17 03:25:37 2014	(r354278)
@@ -87,7 +87,7 @@ create-manifest:
 .if defined(PKG_NOTES)
 	@${ECHO_CMD} -n "annotations: {" >> ${MANIFESTF}
 .for note in ${PKG_NOTES}
-	@${ECHO_CMD} -n ' ${note}: "${PKG_NOTE_${note}:Q}",' >> ${MANIFESTF}
+	@${ECHO_CMD} -n ' ${note}: "${PKG_NOTE_${note}:S/"/\"/g}",' >> ${MANIFESTF}
 .endfor
 	@${ECHO_CMD} " }" >> ${MANIFESTF}
 .endif


More information about the svn-ports-all mailing list