summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-09-23 18:05:44 +0000
committerJan Beich <jbeich@FreeBSD.org>2022-09-23 18:37:55 +0000
commit15dbfe858d2a52ddf6371ce51448baf45eb4f23f (patch)
treea7133f76bf8e99085bba07217cf1c7ffb6c427f0
parentsysutils/terraform-switcher: Update to 0.13.1288 (diff)
multimedia/mpvpaper: avoid pidof in auto-pause after 08f1b09225d4
-rw-r--r--multimedia/mpvpaper/Makefile5
1 files changed, 4 insertions, 1 deletions
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 \