mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
Use standard and more readable way of CR/LF -> LF conversion.
This commit is contained in:
parent
f0239c4716
commit
484526e3e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146827
@ -24,7 +24,8 @@ NO_WRKSUBDIR= yes
|
||||
MAKE_ENV= PREFIX="${PREFIX}"
|
||||
|
||||
pre-patch:
|
||||
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s/`${PRINTF} '\r'`//"
|
||||
@${FIND} ${WRKDIR} -type f -print0 | ${XARGS} -0 \
|
||||
${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'
|
||||
|
||||
post-patch:
|
||||
@${CP} ${FILESDIR}/Makefile.main ${WRKSRC}/Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user