svn commit: r401851 - head/Mk

Alexey Dokuchaev danfe at FreeBSD.org
Wed Nov 18 09:19:44 UTC 2015


Author: danfe
Date: Wed Nov 18 09:19:42 2015
New Revision: 401851
URL: https://svnweb.freebsd.org/changeset/ports/401851

Log:
  Currently, when bsd.port.mk outputs a message addressed to a user, it would
  typically pipe it through ${FMT} 75 79 command to ensure that if it gets
  overly long, it would be wrapped nicely.  Do the same when outputting IGNORE
  message which often gets very long.  While here, add missing section number
  in sed(1) references in comments.
  
  Differential Revision:	D4116
  Approved by:	portmgr (bapt)

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Wed Nov 18 09:09:15 2015	(r401850)
+++ head/Mk/bsd.port.mk	Wed Nov 18 09:19:42 2015	(r401851)
@@ -565,7 +565,7 @@ FreeBSD_MAINTAINER=	portmgr at FreeBSD.org
 #				  cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} "! -name *\.bak"
 #
 #				  Installs all directories and files from ${WRKSRC}/doc
-#				  to ${DOCSDIR} except sed backup files.
+#				  to ${DOCSDIR} except sed(1) backup files.
 #
 # MANPREFIX		- The directory prefix for ${MAN<sect>} and ${MLINKS}.
 #				  Default: ${PREFIX}
@@ -898,7 +898,7 @@ FreeBSD_MAINTAINER=	portmgr at FreeBSD.org
 # PLIST_SUB		- List of "variable=value" pair for substitution in ${PLIST}
 #				  Default: see below
 #
-# SUB_FILES		- Files that should be passed through sed and redirected to
+# SUB_FILES		- Files that should be passed through sed(1) and redirected to
 #				  ${WRKDIR}.
 #				- For each file specified in SUB_FILES, there must be a
 #				  corresponding file in ${FILESDIR} whose suffix is ".in". For
@@ -2815,7 +2815,7 @@ clean:
 .if defined(IGNORE_SILENT)
 IGNORECMD=	${DO_NADA}
 .else
-IGNORECMD=	${ECHO_MSG} "===>  ${PKGNAME} "${IGNORE:Q}.;exit 1
+IGNORECMD=	${ECHO_MSG} "===>  ${PKGNAME} "${IGNORE:Q}. | ${FMT} 75 79 ; exit 1
 .endif
 
 _TARGETS=	check-sanity fetch checksum extract patch configure all build \


More information about the svn-ports-all mailing list