diff options
Diffstat (limited to 'audio/mp3gain')
-rw-r--r-- | audio/mp3gain/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/mp3gain/Makefile b/audio/mp3gain/Makefile index ddeec8112f1e..99068766cab5 100644 --- a/audio/mp3gain/Makefile +++ b/audio/mp3gain/Makefile @@ -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 |