aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mpv
diff options
context:
space:
mode:
authorgblach <gblach@FreeBSD.org>2014-09-08 02:35:32 +0800
committergblach <gblach@FreeBSD.org>2014-09-08 02:35:32 +0800
commitf205715e9ca945731d1d6fc2d19590043ecbe7d8 (patch)
treef73e49c056fa75d074f0aad4b4d4763a56d39501 /multimedia/mpv
parent370110c0919ab9f1e71fa3f91c4b7959362bca8d (diff)
downloadfreebsd-ports-gnome-f205715e9ca945731d1d6fc2d19590043ecbe7d8.tar.gz
freebsd-ports-gnome-f205715e9ca945731d1d6fc2d19590043ecbe7d8.tar.zst
freebsd-ports-gnome-f205715e9ca945731d1d6fc2d19590043ecbe7d8.zip
- Fix build when PULSEAUDIO option is enabled
- Bump PORTREVISION PR: 192941 Submitted by: rsmith <at> xs4all <dot> nl
Diffstat (limited to 'multimedia/mpv')
-rw-r--r--multimedia/mpv/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 6757f1155231..631020da9b8a 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mpv
PORTVERSION= 0.5.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= multimedia audio
MASTER_SITES= GH:0 GHC:0 http://ftp.waf.io/pub/release/:1 \
@@ -131,6 +132,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|/pkgconfig/mpv.pc|data/pkgconfig/mpv.pc|g' \
-e 's|/zsh/vendor-completions|/zsh/site-functions|' \
${WRKSRC}/wscript_build.py
+ @${REINPLACE_CMD} -e "s|'libpulse', '>= 1.0'|'libpulse', '>= 0.9'|" \
+ ${WRKSRC}/wscript
@${FIND} ${WRKSRC}/DOCS/man -name '*.rst' | ${XARGS} ${REINPLACE_CMD} \
-e 's|/usr/local|${PREFIX}|g'