uses: suppress grep warnings when updating file paths
USES=erlang:rebar does a global replace on files to correct LOCALBASE. This should only be run on files, as dirs cause needless log spam. Sponsored by: SkunkWerks, GmbH Differential Revision: https://reviews.freebsd.org/D23293
This commit is contained in:
parent
b6d5a8c18b
commit
6966b5c622
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=523922
4
Mk/Uses/erlang.mk
vendored
4
Mk/Uses/erlang.mk
vendored
@ -77,9 +77,9 @@ post-patch-erlang:
|
||||
${REINPLACE_CMD} -i '' -e 's/{ *vsn,.*}/{vsn, "${PORTVERSION}"}/' \
|
||||
${WRKSRC}/ebin/${ERL_APP_NAME}.app; \
|
||||
fi
|
||||
@${GREP} -l "%%LOCALBASE%%" $$(${FIND} ${WRKSRC}) \
|
||||
@${GREP} -l "%%LOCALBASE%%" $$(${FIND} ${WRKSRC} -type f) \
|
||||
| ${XARGS} ${REINPLACE_CMD} -i '' -e "s@%%LOCALBASE%%@${LOCALBASE}@"
|
||||
@${GREP} -l "%%PORTVERSION%%" $$(${FIND} ${WRKSRC}) \
|
||||
@${GREP} -l "%%PORTVERSION%%" $$(${FIND} ${WRKSRC} -type f) \
|
||||
| ${XARGS} ${REINPLACE_CMD} -i '' -e "s@%%PORTVERSION%%@${PORTVERSION}@"
|
||||
# Always try to build with the system version of rebar and rebar3
|
||||
@if [ -f ${WRKSRC}/rebar.config ]; then \
|
||||
|
Loading…
Reference in New Issue
Block a user