From 163780cb7cda8c3bb827438a57954af53d2f150c Mon Sep 17 00:00:00 2001 From: gblach Date: Fri, 28 Feb 2014 20:51:43 +0000 Subject: - Fix build when SMB option is enabled - Bump PORTREVISION PR: ports/187096 --- multimedia/mpv/Makefile | 1 + multimedia/mpv/files/patch-wscript | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'multimedia') diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 86542c701358..4eef0066a6e0 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -3,6 +3,7 @@ PORTNAME= mpv PORTVERSION= 0.3.5 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= multimedia audio MASTER_SITES= GH:0 GHC:0 http://waf.googlecode.com/files/:1 diff --git a/multimedia/mpv/files/patch-wscript b/multimedia/mpv/files/patch-wscript index 24899f896b7a..038ae49c1720 100644 --- a/multimedia/mpv/files/patch-wscript +++ b/multimedia/mpv/files/patch-wscript @@ -1,6 +1,16 @@ ---- wscript.orig 2014-01-20 18:59:38.000000000 +0100 -+++ wscript 2014-01-20 19:00:04.000000000 +0100 -@@ -806,7 +806,7 @@ +--- wscript.orig 2014-02-28 21:10:36.000000000 +0100 ++++ wscript 2014-02-12 22:39:52.000000000 +0100 +@@ -200,7 +200,8 @@ + 'name': '--libsmbclient', + 'desc': 'Samba support', + 'deps': [ 'libdl' ], +- 'func': check_pkg_config('smbclient'), ++ 'func': check_libs(['smbclient'], ++ check_statement('libsmbclient.h', 'smbc_new_context()')), + 'module': 'input', + }, { + 'name': '--libquvi4', +@@ -806,7 +807,7 @@ ctx.load('detections.devices') if ctx.env.DEST_OS in ('freebsd', 'openbsd'): -- cgit