Date: Sun, 20 Mar 2022 15:11:07 GMT From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9f47879b22dd - main - multimedia/mplayer: Simplify REINPLACE_CMD, avoid warnings re no-ops Message-ID: <202203201511.22KFB7Ja021876@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by riggs: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f47879b22ddf606b275d4e963f5ab503d8d888d commit 9f47879b22ddf606b275d4e963f5ab503d8d888d Author: Thomas Zander <riggs@FreeBSD.org> AuthorDate: 2022-03-20 15:09:48 +0000 Commit: Thomas Zander <riggs@FreeBSD.org> CommitDate: 2022-03-20 15:11:05 +0000 multimedia/mplayer: Simplify REINPLACE_CMD, avoid warnings re no-ops --- multimedia/mplayer/Makefile.common | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/multimedia/mplayer/Makefile.common b/multimedia/mplayer/Makefile.common index f05032d5efac..d8ae230c249d 100644 --- a/multimedia/mplayer/Makefile.common +++ b/multimedia/mplayer/Makefile.common @@ -60,15 +60,14 @@ common-post-patch: -e 's|-lncurses|/usr/lib/libncurses.so|' \ -e 's|-liconv|${ICONV_LIB}|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} - @${FIND} -E ${WRKSRC} -type f \ - -iregex ".*(configure|.sh|Makefile)" -print0 | \ - ${XARGS} -x -0 -n 10 \ - ${REINPLACE_CMD} -E \ - -e 's|[[:space:]]gcc[-[:digit:]\.]+| ${CC}|' \ - -e 's|[[:space:]]gcc| ${CC}|' \ - -e 's|\$$\(CC\)|${CC}|' \ - -e 's|/usr/X11R6|${LOCALBASE}|' \ - -e 's|%%LOCALBASE%%|${LOCALBASE}|' + @${REINPLACE_CMD} -E \ + -e 's|[[:space:]]gcc[-[:digit:]\.]+| ${CC}|' \ + -e 's|[[:space:]]gcc| ${CC}|' \ + -e 's|\$$\(CC\)|${CC}|' \ + -e 's|/usr/X11R6|${LOCALBASE}|' \ + -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \ + ${CONFIGURE_WRKSRC}/Makefile @${FIND} ${WRKSRC}/DOCS/man -name "mplayer.1" | ${XARGS} ${REINPLACE_CMD} -E -e \ 's|/usr/\\:local/\\:etc/\\:mplayer|${DATADIR:S/\//\/\\\:/g}|g ; \ s|/dev/\\:(dvd[[:alnum:]]*[[:>:]])|${DEFAULT_DVD_DEVICE:S/dev\//dev\/\\\:/}|g ; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203201511.22KFB7Ja021876>