pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mpv mpv: Pass `--bindir' to waf configure p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23be07caee65
branches:  trunk
changeset: 372034:23be07caee65
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun Nov 26 13:57:08 2017 +0000

description:
mpv: Pass `--bindir' to waf configure phase to fix installation with waf-2.0.2

With waf-2.0.2 update the mpv binary was tried to install apparently in:

 ${DESTDIR}${WRKSRC}/${PREFIX}/bin

while with previous waf versions it was correctly installed in

 ${DESTDIR}${PREFIX}/bin

Pass `--bindir' via WAF_CONFIGURE_ARGS to fix that problem.

diffstat:

 multimedia/mpv/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 25810bcec391 -r 23be07caee65 multimedia/mpv/Makefile
--- a/multimedia/mpv/Makefile   Sun Nov 26 10:55:14 2017 +0000
+++ b/multimedia/mpv/Makefile   Sun Nov 26 13:57:08 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2017/09/13 10:35:58 leot Exp $
+# $NetBSD: Makefile,v 1.61 2017/11/26 13:57:08 leot Exp $
 
 DISTNAME=      mpv-0.27.0
 CATEGORIES=    multimedia
@@ -19,6 +19,8 @@
 # ${WRKSRC}/bootstrap.py mentions needed version
 BUILD_DEPENDS+=        waf>=1.8.12:../../devel/waf
 
+WAF_CONFIGURE_ARGS+=   --bindir=${PREFIX}/bin
+
 PYTHON_FOR_BUILD_ONLY= yes
 
 USE_TOOLS+=    perl pkg-config



Home | Main Index | Thread Index | Old Index