git: 15dbfe858d2a - main - 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:41:40 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=15dbfe858d2a52ddf6371ce51448baf45eb4f23f
commit 15dbfe858d2a52ddf6371ce51448baf45eb4f23f
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:37:55 +0000
multimedia/mpvpaper: avoid pidof in auto-pause after 08f1b09225d4
---
multimedia/mpvpaper/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/multimedia/mpvpaper/Makefile b/multimedia/mpvpaper/Makefile
index 1da9b5df68d8..464cfc09fc02 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
@@ -21,7 +22,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 \