aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpv/files
diff options
context:
space:
mode:
authorGrzegorz Blach <gblach@FreeBSD.org>2014-01-20 18:38:14 +0000
committerGrzegorz Blach <gblach@FreeBSD.org>2014-01-20 18:38:14 +0000
commitfa07010222a8b6cb83dbb38c113bf135cd78f5d6 (patch)
treee9d559ebca2463d5f5df54ca2688ab53a671a9be /multimedia/mpv/files
parentd3781fc46bce2c7cf556dba6f7da4364fb0addee (diff)
downloadports-fa07010222a8b6cb83dbb38c113bf135cd78f5d6.tar.gz
ports-fa07010222a8b6cb83dbb38c113bf135cd78f5d6.zip
Notes
Diffstat (limited to 'multimedia/mpv/files')
-rw-r--r--multimedia/mpv/files/patch-waftools-checks-custom.py15
-rw-r--r--multimedia/mpv/files/patch-wscript11
2 files changed, 11 insertions, 15 deletions
diff --git a/multimedia/mpv/files/patch-waftools-checks-custom.py b/multimedia/mpv/files/patch-waftools-checks-custom.py
deleted file mode 100644
index ae88c15e08ec..000000000000
--- a/multimedia/mpv/files/patch-waftools-checks-custom.py
+++ /dev/null
@@ -1,15 +0,0 @@
---- waftools/checks/custom.py.orig
-+++ waftools/checks/custom.py
-@@ -52,10 +52,12 @@ def check_lua(ctx, dependency_identifier):
- lua_versions = [
- ( '51', 'lua >= 5.1.0 lua < 5.2.0'),
- ( '51deb', 'lua5.1 >= 5.1.0'), # debian
-+ ( '51fbsd', 'lua-5.1 >= 5.1.0'), # FreeBSD
- ( 'luajit', 'luajit >= 2.0.0' ),
- # assume all our dependencies (libquvi in particular) link with 5.1
- ( '52', 'lua >= 5.2.0' ),
- ( '52deb', 'lua5.2 >= 5.2.0'), # debian
-+ ( '52fbsd', 'lua-5.2 >= 5.2.0'), # FreeBSD
- ]
-
- if ctx.options.LUA_VER:
diff --git a/multimedia/mpv/files/patch-wscript b/multimedia/mpv/files/patch-wscript
new file mode 100644
index 000000000000..24899f896b7a
--- /dev/null
+++ b/multimedia/mpv/files/patch-wscript
@@ -0,0 +1,11 @@
+--- wscript.orig 2014-01-20 18:59:38.000000000 +0100
++++ wscript 2014-01-20 19:00:04.000000000 +0100
+@@ -806,7 +806,7 @@
+ ctx.load('detections.devices')
+
+ if ctx.env.DEST_OS in ('freebsd', 'openbsd'):
+- ctx.env.CFLAGS += ['-I/usr/local/include']
++ ctx.env.CFLAGS += ['-I..', '-I/usr/local/include']
+ ctx.env.LINKFLAGS += ['-L/usr/local/lib']
+
+ if ctx.env.DEST_OS == 'netbsd':