git: 26ab9c488ede - 2022Q3 - multimedia/mpvpaper: avoid pidof in auto-pause after 08f1b09225d4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Sep 2022 18:55:44 UTC
The branch 2022Q3 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=26ab9c488ede2bcd83777161caf1363d09116e19
commit 26ab9c488ede2bcd83777161caf1363d09116e19
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-09-23 18:05:44 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-09-23 18:55:22 +0000
multimedia/mpvpaper: avoid pidof in auto-pause after 08f1b09225d4
(cherry picked from commit 15dbfe858d2a52ddf6371ce51448baf45eb4f23f)
---
multimedia/mpvpaper/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/multimedia/mpvpaper/Makefile b/multimedia/mpvpaper/Makefile
index 0470b6fd1a24..d4217378a24e 100644
--- a/multimedia/mpvpaper/Makefile
+++ b/multimedia/mpvpaper/Makefile
@@ -1,5 +1,6 @@
PORTNAME= mpvpaper
DISTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= multimedia wayland
MAINTAINER= jbeich@FreeBSD.org
@@ -20,7 +21,9 @@ PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz
post-patch:
- @${REINPLACE_CMD} 's/pidof/pgrep/' ${WRKSRC}/src/main.c
+ @${REINPLACE_CMD} -e 's/pidof/pgrep/' \
+ ${WRKSRC}/src/holder.c \
+ ${WRKSRC}/src/main.c
post-install:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \