aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorgblach <gblach@FreeBSD.org>2014-03-01 04:51:43 +0800
committergblach <gblach@FreeBSD.org>2014-03-01 04:51:43 +0800
commit163780cb7cda8c3bb827438a57954af53d2f150c (patch)
tree519f74ab184681b6c39e4e7194a4cae3308abb7a /multimedia
parent087d9112ba768545852fef62d2a3f09040ad4872 (diff)
downloadfreebsd-ports-gnome-163780cb7cda8c3bb827438a57954af53d2f150c.tar.gz
freebsd-ports-gnome-163780cb7cda8c3bb827438a57954af53d2f150c.tar.zst
freebsd-ports-gnome-163780cb7cda8c3bb827438a57954af53d2f150c.zip
- Fix build when SMB option is enabled
- Bump PORTREVISION PR: ports/187096
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpv/Makefile1
-rw-r--r--multimedia/mpv/files/patch-wscript16
2 files changed, 14 insertions, 3 deletions
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'):