ports/146347: [patch] [bsd.port.mk] fix USE_DOS2UNIX info output
Alex Kozlov
spam at rm-rf.kiev.ua
Thu May 6 06:00:14 UTC 2010
>Number: 146347
>Category: ports
>Synopsis: [patch] [bsd.port.mk] fix USE_DOS2UNIX info output
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu May 06 06:00:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Alex Kozlov
>Release: RELENG_8
>Organization:
private
>Environment:
>Description:
"Converting DOS text file to UNIX text file: ${f}" don't show file name because ${f} is undefined at this moment.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Mk/bsd.port.mk
@@ -3659,17 +3659,15 @@
@${FIND} -E ${WRKSRC} -type f -iregex '${DOS2UNIX_REGEX}' -print0 | \
${XARGS} -0 ${REINPLACE_CMD} -i '' -e 's/$$//'
.else
+.for f in ${USE_DOS2UNIX}
@${ECHO_MSG} "===> Converting DOS text file to UNIX text file: ${f}"
.if ${USE_DOS2UNIX:M*/*}
-.for f in ${USE_DOS2UNIX}
@${REINPLACE_CMD} -i '' -e 's/$$//' ${WRKSRC}/${f}
-.endfor
.else
-.for f in ${USE_DOS2UNIX}
@${FIND} ${WRKSRC} -type f -name '${f}' -print0 | \
${XARGS} -0 ${REINPLACE_CMD} -i '' -e 's/$$//'
-.endfor
.endif
+.endfor
.endif
.else
@${DO_NADA}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list