luaposix: disable documentation build 10209/head
authorKarl Palsson <karlp@tweak.net.au>
Sat, 12 Oct 2019 13:45:20 +0000 (13:45 +0000)
committerKarl Palsson <karlp@tweak.net.au>
Sat, 12 Oct 2019 13:52:20 +0000 (13:52 +0000)
Lost when luaposix converted their upstream build system.
Required to prevent the build from attempting to invoke "ldoc" on the
host and also simply to speed it up.

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
lang/luaposix/patches/900-disable-ldoc.patch [new file with mode: 0644]

diff --git a/lang/luaposix/patches/900-disable-ldoc.patch b/lang/luaposix/patches/900-disable-ldoc.patch
new file mode 100644 (file)
index 0000000..7859807
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/lukefile b/lukefile
+index 2d4bb2f..1e48540 100644
+--- a/lukefile
++++ b/lukefile
+@@ -29,8 +29,6 @@ incdirs  = {
+    '$LUA_INCDIR',
+ }
+-ldocs    = 'build-aux/config.ld.in'
+-
+ modules  = {
+    ['posix']               = 'lib/posix/init.lua',
+    ['posix._base']         = 'lib/posix/_base.lua',